You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I understand you can add <?php $this->globals('core.load_fancybox',1); ?> to a page in oder to enable fancybox, but doing this it siables the wysiwyg editor. Is there a way to simply make the code active for all html pages within the skin template so the php code does not disable the editor?
Offline
At the top of your active skin's skin.php file, right before the line:
<?php $skinfunc->xnamespace('core','jslib'); ?>
Add:
if (($this->globals('core.app') == 'cms') && ($this->globals('core.namespace') == 'display')) {$this->globals('core.load_fancybox',1);}
Offline
Perfect! Thank you.
Offline