- Posts: 4
- Thank you received: 0
Are you enjoying the extensions? Did you like the support? Help others decide.
Leave a review/* Import page layout */
$pageLayout = $this->params->get('pageLayout');
$pageLayout = './templates/'.$this->template.'/layout/'.$pageLayout.'.php';
<? require_once($pageLayout); ?>
[/i]
Again, that displays fine with the plugin disabled and the menu item is correctly attributed to the right layout file. As soon as the plugin is enabled, [i]$this->params->get('pageLayout');[/i] reverts from let's say, 'home' to 'default'.
Any ideas?
Also, with the plugin enabled the only errors in Chrome console are:
[code]
Uncaught ReferenceError: $j is not defined - Line 34
<script type="text/javascript">
jQuery.noConflict();
function keepAlive() { var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(840000); });
$j(document).ready(function(){
$j('a.modalizer_link,a.modal,a.modalizer').colorbox({width:'80%',height:'80%',iframe:true});
$j('a.modalizer_link_image').colorbox({});
$j('a.modalizer_link_external').colorbox({width:'80%',height:'80%',iframe:true});
});
</script>
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
/* Import page layout */
$pageLayout = $this->params->get('pageLayout');
$pageLayout = './templates/'.$this->template.'/layout/'.$pageLayout.'.php';
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Simplify Your Web is not affiliated with or endorsed by The Joomla! Project™ or Open Source Matters.
The Joomla!® name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.