I am trying to add a new module position (Full width). I already have edited some code. I have modified the TEMPLATEDETAILS.XML with the new position fullwidth
I have a question regarding editing the gk.const.php file located in /lib/framework. This file doesn't exist in the Events template. Where can I add the new module position to the template module styles?
Another question regarding modifying the layout folder (gk_NameOfTemplate\layouts\default.php). Is the code below good for a full width or is this a css modification?
- Code: Select all
<?php if($this->API->modules('fullwidth')) : ?>
<div class="clear">
<jdoc:include type="modules" name="fullwidth"
style="<?php echo $this->module_styles['fullwidth']; ?>" />
</div>
<?php endif; ?>
Regards, Bruce