I want to show the mainbody position in subpages
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Wed May 27, 2015 4:35 pm
- Reply with quote
- Report this post
Hello, I am trying to use the mainbody position for some modules, but there are no way to view it. The modules shows in other positions (header, bottom1, etc) but the mainbody only see in the main page, can you help me please,thx.
-
- Fresh Boarder
- GK User
- Fri May 29, 2015 3:16 pm
- Reply with quote
- Report this post
Hello,
The mainbody module position is as default available only on the frontpage. If you want to disable this behaviour, please change in the layouts/default.php file the following fragment:
to:
But please remember - it will override your component output for a specific menu item, so please use this possibility carefully.
The mainbody module position is as default available only on the frontpage. If you want to disable this behaviour, please change in the layouts/default.php file the following fragment:
- Code: Select all
<?php if(($this->layout->isFrontpage() && !$this->API->modules('mainbody')) || !$this->layout->isFrontpage()) : ?>
to:
- Code: Select all
<?php if(!$this->API->modules('mainbody')) : ?>
But please remember - it will override your component output for a specific menu item, so please use this possibility carefully.
-
- Administrator
2 posts
• Page 1 of 1