View Full Version : Dekiscript and Custom HTML
10-15-2008, 06:36 PM
Is it possible to embed Dekiscript in the Custom HTML in the control panel?
No, but global templates will allow you to target areas of the skin with content that can come from the wiki (with dekiscript!)
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?
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.
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.
Powered by vBulletin™ Version 4.1.3 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.