Editor button not visible

  • waveywhite
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #299 by waveywhite
Editor button not visible was created by waveywhite
Hi,

After I installed CP 2.0 all-in-one file on Joomla 1.7.2 all seems to work (so far) except the editor button isn't visible. I checked that the button plugin was installed and enabled, which is was. I then re-installed the plugin. But still no button.

After installing JCKEditor I noticed half a button was present with fields not populated properly. Attached is a snapshot of the half-button with firebug. Page source code:

<div id="editor-xtd-buttons">
<div class="button2-left" id="">
<div id="">
<a rel="" href="" id=""></a></div></div>
<div class="button2-left" id="">
Attachments:

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #300 by andrea_4g
Replied by andrea_4g on topic Re: Editor button not visible
Full disclosure: we're not very familiar with JCKE (we never tested it).

Do you see other buttons properly?
Do you have the same problem with a different editor (TinyMCE, JCE)?

Please Log in or Create an account to join the conversation.

  • waveywhite
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #301 by waveywhite
Replied by waveywhite on topic Re: Editor button not visible
With Tiny MCE no button is visible at all. The only difference with JCKE is that some difference in the button display code meant that a half-button was visible and I could locate it in Firebug. It still didn't do anything.

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago - 12 years 5 months ago #306 by andrea_4g
Replied by andrea_4g on topic Re: Editor button not visible
I come to the conclusion that the type of editor could not be the origin of the problem. Editor buttons are displayed regardless of the selected editor (see attached screenshot with comparison between TinyMCE and no editor).
The only reasonable diagnosis is that something bad has happened during the installation or other maintenance operation. Onother possibility is that a component is interfering with editors-xtd plugins in general.
I'm unable to guess any further.
Attachments:
Last edit: 12 years 5 months ago by andrea_4g.

Please Log in or Create an account to join the conversation.

  • waveywhite
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #307 by waveywhite
Replied by waveywhite on topic Re: Editor button not visible
I've found a bug! If you set front-end editing level to "super user" then the button is disabled in the back-end. That option is only supposed to apply to front-end editing and there's no "if site" check in the button code:

// show only to users with proper rights

if(!in_array($cp_config, $groups)){

return $button;

}


Additionally, the logic was returning at this point in spite of me being logged in to back-end as super administrator! It would be nice if the standard ACL was used here.

-David.
The following user(s) said Thank You: andrea_4g

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #310 by andrea_4g
Replied by andrea_4g on topic Re: Editor button not visible
Thanks David.
We are investigating this subject. Your finding is useful.
You'll read from us soon.

Please Log in or Create an account to join the conversation.

Time to create page: 0.142 seconds