View Full Version : Dekiscript and Custom HTML
mcraven
10-15-2008, 06:36 PM
Is it possible to embed Dekiscript in the Custom HTML in the control panel?
Thanks,
Mark C.
No, but global templates will allow you to target areas of the skin with content that can come from the wiki (with dekiscript!)
http://wiki.developer.mindtouch.com/index.php?title=MindTouch_Deki/FAQ/Visual_Customization/How_do_I...Implement_global_templates%3F
mcraven
10-16-2008, 07:00 PM
Yes, I did see that entry. I have also been trying the technique show here: http://forums.developer.mindtouch.com/showthread.php?t=2841
I am using fiesta - sky-tangerine and am trying to target section 4, but nothing shows up. What exactly is the correct target name for that area?
Regards,
Mark C.
mcraven
10-23-2008, 12:02 AM
I realized I had not added
$wgTargetSkinVars = array('customarea1', 'customarea2', 'customarea3','customarea4', 'customarea5','customarea6');
to the LocalSettings.php file. Once I did this everything worked fine.
Regards,
Mark C.
mcraven
12-18-2008, 05:15 PM
Actually the following code should be used in LocalSettings.php:
$wgTargetSkinVars = array_merge($wgTargetSkinVars, array('customarea1', 'customarea2', 'customarea3', 'customarea4', 'customarea5'));
This preserves the pre-existing values fo r$wgTargetSkinVars.
Regards,
Mark C.
Powered by vBulletin™ Version 4.1.3 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.