Hi,
With dkret3 and wordpress 3.1.2 only superadmin can see the tinyMCE editing buttons.
All other users can't see the tinyMCE editing buttons.
Thanks for your help
Hi,
With dkret3 and wordpress 3.1.2 only superadmin can see the tinyMCE editing buttons.
All other users can't see the tinyMCE editing buttons.
Thanks for your help
If I switch to twentyten theme tinyMCE works fine.
If I rename "wp-content\themes\dkret3\library\js" to "wp-content\themes\dkret3\library\js-old" tinyMCE works and I see the buttons again.
I will look into this. You should'nt rename the folder, since you will loose all javascript functions of the theme (Drop-Down-Menu, comment preview, ...).
Many thanks for your reply.
I renamed the directory "js-old" in "js" and now the TinyMCE works and I see the buttons again.
I had the same probleme with an other blog on an other server and I did the same thing, rename "js" in "js-old" next "js-old" in "js" and TinyMCE works again and buttons come back!
Best regards
It seems like this is not a problem of dkret. I can't see why. It works here.
Seems to be a caching problem. Clearing the browsers cache (maybe a page reload is enough) should be enough.
Before renaming the directory "js" I cleared the cache several times with no success.
When I switched to the default theme twenty ten, TinyMCE worked correctly but when I switched again on dkret TinyMCE didn't work correctly.
The only way to solve the problem on the 2 blogs which raised the problem was to apply the procedure of renaming "js" directory and then everything works fine.
Now for me all works fine.
Dkret is a very powerful and beautiful theme.
Thanks you.
Best regards.
Thanks.
If there is a bug in dkret I hope one of the other users is so kind and find it.
Hello
I encountered the same problem - only that for me the renameing solution did not work.
I run a wordpress blog network and the network superadmin can work just fine - for every other user the TinyMCE and the Ajax stuff in the dashboard is broken as soon as dkret3 is activated. If I switch to other themes the problem does not appear.
Is there any news on the reason?
Mike
Hi,
After I renamed "js" in "js-old" I clear the cache and only when I saw TinyMCE buttons again I renamed it in "js".
Best regards
Hmm, strange.
I deactivated WP Super cache, just to be sure, I renamed the js direcory in the library subdirectory of the dkret theme and flushed the browser cache - to no success. Currently the only way to get a working graphical editor is to use another theme than dkret.
Mike
Hi again
I think I possibly found the bug:
In library/functions/core.php line 300 it says:
if ( !is_super_admin() || !is_admin_bar_showing() )
in the condition that determines whether the dkret settings should be loaded to the admin bar. I am not sure why this is set to super admin.
In a wordpress blog network like I run this leads to other administrators not being able to use Tinymce and breaks the AJAX on the dashboard.
I changed it to
if ( !is_admin() || !is_admin_bar_showing() )
and now it seems to work fine.
Jörn, could you clarify whether my approach is correct or whether I break something else with that change?
Mike
You found the right file but I doubt you found the right solution (only super admins should be able to change theme options).
But right know if a non super-admin is logged in the function EXITS. Please change 'exit' in line 260 to 'return'.
Hi Jörn
Thanks for the feedback.
Is there a special reason why only super-admin (network admins) should be able to change theme options? I run a blog network with quite a few sites and I don't want have to work only because one of my site owners want to change their adsense code in the dkret options.
Or did I get the roles wrong? I thought the super admin is the only role who can install themes and plugins and has access to all the blogs in the network(and can create new ones or delete old ones)
Besides that I thought a blog administrator can change all settings that affect his blog only...?
Mike
Guess you are wrong. Because I don't use the multisite features of WordPress, I haven't testet this part enough.
Your fix plus mine should be ok then. I already made those changes for the next release.
I meant: Guess you are right.
Ah, o.k. I would have believed you ;-)
I definitely need to read more about the rights of the different user roles in wordpress ;-)
Thanks for fixing it in the next release!
Mike
Hi,
I have an other issue with javascript functions.
I can't make the plugin " WordPress plugin random post slider " to work.
If I switch to twentyten theme the plugin works fine.
If I rename "wp-content\themes\dkret3\library\js" to "wp-content\themes\dkret3\library\js-old" the plugin works fine to.
Best regards
Hi,
The problem was due to the plugin.
My problem is solved.
I am using the theme on a site with left and right sidebars. The header image leaves the right side bar as white space in the header Is there a way to correct this?
I also would like to remove the page name from the page display since we have images that reflect the page name. The hack would be to remove (blank out) the page name but then the users would have a difficult time determining which page is which in wordpress.
The menu bar is green with lighter colored links and I thought that these options could be changed, but do not see anything in the theme settings that would affect this.
Thank you
Please post your own topic.
This topic has been closed to new replies.