Xinha Module Bug unable to change skins through CMSMS admin console
Posted: Sat Aug 09, 2008 10:36 am
I currently upgraded to CMSMS 1.4 from 1.1 I was using FCKeditorX instead of TinyMCE because when I originally started using CMSMS it was the default editor. And it always worked fine. But on the upgrade I made the mistake of upgrading FCKeditorX which had not been upgraded since installed in version 1.1 and broke it. I stayed up all night trying to get TinyMCE to work but the popups kept on giving me 404 errors. Long story short I installed Xinha Module and it worked beautifully without a hitch.
Although when I tried to change the skins from the default grey nothing would happen. The drop-down menu of choices appears on the Xinha page from the menu option Extensions on the Admin Console. Apparently it is disabled by default (meaning nothing happens). This is how you enable this feature:
Change the following code around line 145 in Xinha.module.php:
// Uncommented next line and set the default skin, I set it to xp-green.
$skin=$this->GetPreference("Xinha.Skin","xp-green");
$head='
_editor_url = "'.$this->cms->config["root_url"].'/modules/Xinha/xinha/";
_editor_lang = "'.$xinhalang.'";
_editor_skin = "'.$skin.'";
';
It is that simple. Although I set the default to xp-green, I really like xp-blue. Good Luck.
Although when I tried to change the skins from the default grey nothing would happen. The drop-down menu of choices appears on the Xinha page from the menu option Extensions on the Admin Console. Apparently it is disabled by default (meaning nothing happens). This is how you enable this feature:
Change the following code around line 145 in Xinha.module.php:
// Uncommented next line and set the default skin, I set it to xp-green.
$skin=$this->GetPreference("Xinha.Skin","xp-green");
$head='
_editor_url = "'.$this->cms->config["root_url"].'/modules/Xinha/xinha/";
_editor_lang = "'.$xinhalang.'";
_editor_skin = "'.$skin.'";
';
It is that simple. Although I set the default to xp-green, I really like xp-blue. Good Luck.