Roundcube Community Forum

 

disable/remove Skin preview

Started by HellGoNet, April 04, 2011, 01:41:17 AM

Previous topic - Next topic

HellGoNet

hi!

how do i remove the skin preview aria in settings/userinterface?

i have only one skin and don't need the preview.

Julius Caesar

Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

HellGoNet

Quote from: Julius Caesar;34078Just check this post

i've tried that but it does nothing, i think it suppose to disable the ability to change skin but i only have one skin instaled so the option to change it is disabled by default (i think), my problem is the skin preview right under where the skin selector would be, its a big fat aria with an iframe preview of the skin.

when i look at demo sites of roundcube its not there so maybe it suppose to be disabled automatically when the selector is, but not for me!

i've also tried to track down the code that creates this aria with no luck,
to write and ask for help is so rare for me to do, i registered here just for this, thats how hard i tried before.

i know its probably verry easy and i probably stare at it so long i cant se it even if its right in front of me, thats why im getting desperat and frustrated.

make my day! :D i need it
and thanks for your time, appreciate it

dshepherd

You can remove this in /plugins/settings/settings.php by removing the if statement which starts as follows:

if($_GET['_section'] == "general" || $_POST['_section'] == "general"){

It is lines 231 - 244 inclusive.

HellGoNet

Quote from: dshepherd;34089You can remove this in /plugins/settings/settings.php by removing the if statement which starts as follows:

if($_GET['_section'] == "general" || $_POST['_section'] == "general"){

It is lines 231 - 244 inclusive.

yeeh thanks man! i said it was easy :P i was so shure it was a built in feature i didn't even consider to look at the plugins!

i cant even get the "account administraton" tab to show up in the setting page,.. to bad

thanks for the help