change module ID

GK User
Tue Aug 30, 2016 9:00 pm
hello.
I'm trying to figure out where do you set the module Ids.
I'm using the steakhouse template via joomla.
at this code:
Code: Select all
<section id="gkMainbody">
<div<?php if(isset($this->module_ids['mainbody'])) echo ' id="'.$this->module_ids['mainbody'].'"'; ?>>
<?php if(($this->layout->isFrontpage() && !$this->API->modules('mainbody')) || !$this->layout->isFrontpage()) : ?>
<jdoc:include type="component" />
<?php else : ?>
<div id="HeadPage">
<jdoc:include type="modules" name="mainbody" style="gk_style" />
<?php endif; ?>
</div>
</div>
</section>
"
the result of
Code: Select all
 module_ids['mainbody']
is restaurant

where/how can I change it?

best regards,
Doron
User avatar
Fresh Boarder

teitbite
Fri Sep 02, 2016 11:57 am
Hi

I'm afraid I do not understand what You are trying to do. What do You need module ID for ??

If You want to show a module in frontpage simply publish it in "mainbody" module position.
User avatar
Moderator


cron