Skip to main content
Commonmark migration
Source Link

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular username. This is a core edit, but it's a local website only only my pc so I am not worried.

It works when I view in one Internet Explorer, but in another Internet Explorer it doesn't show the editor --only the input for the title. If I refresh the page it shows up.

I looked at echo $this->form->getInput('articletext') in edit.php and it is set to no editor when var_dump(). When I refresh, the dump shows tiny_mce.

I can't for the life of me find what file or process sets the articletext editor nor what it bases it on (checks session or something). I know it would check the user's editor because tinymce is this user's default. It is also the site's default.

Any help would be greatly appreciated. Right now I can't find how the editor is assigned in the php code. Otherwise I might be able to find what is missing from direct link to edit article.

I've compared some var_dumps of this form and $this params. I'm not seeing much of a difference from first view and refreshed view. Any advice?


Update1 :

###Update1 : AlsoAlso the plugin is a nice idea but it seems likr a lot more work and learning curve. This is hard because i dont have home intetnet. But perhaps in the future i will merge it over to a plug in. If i can figure that all out. For now mt only core hack is the controller.php in com_content. I dont know how to override only specific component controllers. Maybe I will check it out later if I have time. Thanks for all the advice everyone. For now all is working as i stated above.

Also for my origional post. I meant Internet Explorer. Which i assumed any one using joomla would know ie is short form of a browser name. I am typing on a small cellphone with limited time. Sorry for not proof reading. But anyways, i think the issue I had was less about the browser and more about settings.

I still cant find where joomla looks to see if a user has an editor set in their prefrence and to overrite the global configurations defualt editor with that of the users preferance. This would be nice, and I assumed this is default behaviour so I am not sure why when I edit an article on front end with super user the site ignores the users prefrence.

Anyways if any one can help shine some light on this, and again I hope i have time to make a plugin override direct access based on user group or name.


Update2:

Also i noticed that the global edior was none and showing rhat instead of users prefered esitor. Just changed defuakt to tinymce and it worked.

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular username. This is a core edit, but it's a local website only only my pc so I am not worried.

It works when I view in one Internet Explorer, but in another Internet Explorer it doesn't show the editor --only the input for the title. If I refresh the page it shows up.

I looked at echo $this->form->getInput('articletext') in edit.php and it is set to no editor when var_dump(). When I refresh, the dump shows tiny_mce.

I can't for the life of me find what file or process sets the articletext editor nor what it bases it on (checks session or something). I know it would check the user's editor because tinymce is this user's default. It is also the site's default.

Any help would be greatly appreciated. Right now I can't find how the editor is assigned in the php code. Otherwise I might be able to find what is missing from direct link to edit article.

I've compared some var_dumps of this form and $this params. I'm not seeing much of a difference from first view and refreshed view. Any advice?


###Update1 : Also the plugin is a nice idea but it seems likr a lot more work and learning curve. This is hard because i dont have home intetnet. But perhaps in the future i will merge it over to a plug in. If i can figure that all out. For now mt only core hack is the controller.php in com_content. I dont know how to override only specific component controllers. Maybe I will check it out later if I have time. Thanks for all the advice everyone. For now all is working as i stated above.

Also for my origional post. I meant Internet Explorer. Which i assumed any one using joomla would know ie is short form of a browser name. I am typing on a small cellphone with limited time. Sorry for not proof reading. But anyways, i think the issue I had was less about the browser and more about settings.

I still cant find where joomla looks to see if a user has an editor set in their prefrence and to overrite the global configurations defualt editor with that of the users preferance. This would be nice, and I assumed this is default behaviour so I am not sure why when I edit an article on front end with super user the site ignores the users prefrence.

Anyways if any one can help shine some light on this, and again I hope i have time to make a plugin override direct access based on user group or name.


Update2:

Also i noticed that the global edior was none and showing rhat instead of users prefered esitor. Just changed defuakt to tinymce and it worked.

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular username. This is a core edit, but it's a local website only only my pc so I am not worried.

It works when I view in one Internet Explorer, but in another Internet Explorer it doesn't show the editor --only the input for the title. If I refresh the page it shows up.

I looked at echo $this->form->getInput('articletext') in edit.php and it is set to no editor when var_dump(). When I refresh, the dump shows tiny_mce.

I can't for the life of me find what file or process sets the articletext editor nor what it bases it on (checks session or something). I know it would check the user's editor because tinymce is this user's default. It is also the site's default.

Any help would be greatly appreciated. Right now I can't find how the editor is assigned in the php code. Otherwise I might be able to find what is missing from direct link to edit article.

I've compared some var_dumps of this form and $this params. I'm not seeing much of a difference from first view and refreshed view. Any advice?


Update1 :

Also the plugin is a nice idea but it seems likr a lot more work and learning curve. This is hard because i dont have home intetnet. But perhaps in the future i will merge it over to a plug in. If i can figure that all out. For now mt only core hack is the controller.php in com_content. I dont know how to override only specific component controllers. Maybe I will check it out later if I have time. Thanks for all the advice everyone. For now all is working as i stated above.

Also for my origional post. I meant Internet Explorer. Which i assumed any one using joomla would know ie is short form of a browser name. I am typing on a small cellphone with limited time. Sorry for not proof reading. But anyways, i think the issue I had was less about the browser and more about settings.

I still cant find where joomla looks to see if a user has an editor set in their prefrence and to overrite the global configurations defualt editor with that of the users preferance. This would be nice, and I assumed this is default behaviour so I am not sure why when I edit an article on front end with super user the site ignores the users prefrence.

Anyways if any one can help shine some light on this, and again I hope i have time to make a plugin override direct access based on user group or name.


Update2:

Also i noticed that the global edior was none and showing rhat instead of users prefered esitor. Just changed defuakt to tinymce and it worked.

added 1383 characters in body
Source Link
FFrewin
  • 19.8k
  • 10
  • 48
  • 101

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular username. This is a core edit, but it's a local website only only my pc so I am not worried.

It works when I view in one Internet Explorer, but in another Internet Explorer it doesn't show the editor --only the input for the title. If I refresh the page it shows up.

I looked at echo $this->form->getInput('articletext') in edit.php and it is set to no editor when var_dump(). When I refresh, the dump shows tiny_mce.

I can't for the life of me find what file or process sets the articletext editor nor what it bases it on (checks session or something). I know it would check the user's editor because tinymce is this user's default. It is also the site's default.

Any help would be greatly appreciated. Right now I can't find how the editor is assigned in the php code. Otherwise I might be able to find what is missing from direct link to edit article.

I've compared some var_dumps of this form and $this params. I'm not seeing much of a difference from first view and refreshed view. Any advice?


###Update1 : Also the plugin is a nice idea but it seems likr a lot more work and learning curve. This is hard because i dont have home intetnet. But perhaps in the future i will merge it over to a plug in. If i can figure that all out. For now mt only core hack is the controller.php in com_content. I dont know how to override only specific component controllers. Maybe I will check it out later if I have time. Thanks for all the advice everyone. For now all is working as i stated above.

Also for my origional post. I meant Internet Explorer. Which i assumed any one using joomla would know ie is short form of a browser name. I am typing on a small cellphone with limited time. Sorry for not proof reading. But anyways, i think the issue I had was less about the browser and more about settings.

I still cant find where joomla looks to see if a user has an editor set in their prefrence and to overrite the global configurations defualt editor with that of the users preferance. This would be nice, and I assumed this is default behaviour so I am not sure why when I edit an article on front end with super user the site ignores the users prefrence.

Anyways if any one can help shine some light on this, and again I hope i have time to make a plugin override direct access based on user group or name.


Update2:

Also i noticed that the global edior was none and showing rhat instead of users prefered esitor. Just changed defuakt to tinymce and it worked.

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular username. This is a core edit, but it's a local website only only my pc so I am not worried.

It works when I view in one Internet Explorer, but in another Internet Explorer it doesn't show the editor --only the input for the title. If I refresh the page it shows up.

I looked at echo $this->form->getInput('articletext') in edit.php and it is set to no editor when var_dump(). When I refresh, the dump shows tiny_mce.

I can't for the life of me find what file or process sets the articletext editor nor what it bases it on (checks session or something). I know it would check the user's editor because tinymce is this user's default. It is also the site's default.

Any help would be greatly appreciated. Right now I can't find how the editor is assigned in the php code. Otherwise I might be able to find what is missing from direct link to edit article.

I've compared some var_dumps of this form and $this params. I'm not seeing much of a difference from first view and refreshed view. Any advice?

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular username. This is a core edit, but it's a local website only only my pc so I am not worried.

It works when I view in one Internet Explorer, but in another Internet Explorer it doesn't show the editor --only the input for the title. If I refresh the page it shows up.

I looked at echo $this->form->getInput('articletext') in edit.php and it is set to no editor when var_dump(). When I refresh, the dump shows tiny_mce.

I can't for the life of me find what file or process sets the articletext editor nor what it bases it on (checks session or something). I know it would check the user's editor because tinymce is this user's default. It is also the site's default.

Any help would be greatly appreciated. Right now I can't find how the editor is assigned in the php code. Otherwise I might be able to find what is missing from direct link to edit article.

I've compared some var_dumps of this form and $this params. I'm not seeing much of a difference from first view and refreshed view. Any advice?


###Update1 : Also the plugin is a nice idea but it seems likr a lot more work and learning curve. This is hard because i dont have home intetnet. But perhaps in the future i will merge it over to a plug in. If i can figure that all out. For now mt only core hack is the controller.php in com_content. I dont know how to override only specific component controllers. Maybe I will check it out later if I have time. Thanks for all the advice everyone. For now all is working as i stated above.

Also for my origional post. I meant Internet Explorer. Which i assumed any one using joomla would know ie is short form of a browser name. I am typing on a small cellphone with limited time. Sorry for not proof reading. But anyways, i think the issue I had was less about the browser and more about settings.

I still cant find where joomla looks to see if a user has an editor set in their prefrence and to overrite the global configurations defualt editor with that of the users preferance. This would be nice, and I assumed this is default behaviour so I am not sure why when I edit an article on front end with super user the site ignores the users prefrence.

Anyways if any one can help shine some light on this, and again I hope i have time to make a plugin override direct access based on user group or name.


Update2:

Also i noticed that the global edior was none and showing rhat instead of users prefered esitor. Just changed defuakt to tinymce and it worked.

Corrected grammar and capitalization
Source Link
mickmackusa
  • 4.8k
  • 4
  • 18
  • 48

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular user nameusername. CoreThis is a core edit, but itsit's a local website only only my pc so iI am not worried.

WorksIt works when i fiewI view in some ie. Butone Internet Explorer, but in another ieInternet Explorer it doesntdoesn't show the editor only--only the input for the title. If iI refresh the page it shows up. 

I looked at echo $this->form->getInput('articletext')echo $this->form->getInput('articletext') in the edit.phpedit.php and it is set to no editor when var dumpvar_dump(). When iI refresh the, the dump shows tiny_mce.

I cantcan't for the life of me find what file or process sets the articletext editor andnor what it bases it on (checks session or something). I know it would check usersthe user's editor because tinymce is this users defualtuser's default. It is also the sitessite's default.

Any help would be greatly appreciated. RofhtRight now i cantI can't find how the editor is assigned in the php code. Otherwise iI might be able to find what is missing from direct link to edit article.

IveI've compared some var dumpsvar_dumps of this form and this$this params. Not seingI'm not seeing much of a difference from first view and refreshed view. Any advice?

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular user name. Core edit but its a local website only only my pc so i am not worried.

Works when i fiew in some ie. But another ie it doesnt show the editor only the input for the title. If i refresh the page it shows up. I looked at echo $this->form->getInput('articletext') in the edit.php and it is set to no editor when var dump. When i refresh the dump shows tiny_mce.

I cant for the life of me find what file or process sets the articletext editor and what it bases it on (checks session or something). I know it would check users editor because tinymce is this users defualt. It is also the sites default.

Any help would be greatly appreciated. Rofht now i cant find how the editor is assigned in the php code. Otherwise i might be able to find what is missing from direct link to edit article.

Ive compared some var dumps of this form and this params. Not seing much of a difference from first view and refreshed view. Any advice?

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular username. This is a core edit, but it's a local website only only my pc so I am not worried.

It works when I view in one Internet Explorer, but in another Internet Explorer it doesn't show the editor --only the input for the title. If I refresh the page it shows up. 

I looked at echo $this->form->getInput('articletext') in edit.php and it is set to no editor when var_dump(). When I refresh, the dump shows tiny_mce.

I can't for the life of me find what file or process sets the articletext editor nor what it bases it on (checks session or something). I know it would check the user's editor because tinymce is this user's default. It is also the site's default.

Any help would be greatly appreciated. Right now I can't find how the editor is assigned in the php code. Otherwise I might be able to find what is missing from direct link to edit article.

I've compared some var_dumps of this form and $this params. I'm not seeing much of a difference from first view and refreshed view. Any advice?

Source Link
Loading