I've tried adding a new module position to the template using this guide:
https://www.gavick.com/documentation/jo ... -position/
However even though i've tried following it fairly strictly i simply can't get it to show up. I've got it showing up in my list of availeble module positions, but not on the template itself.
I've added the following snippets (the position i'm trying to add is socialmedia):
- Code: Select all
<positions>
<position>socialmedia</position>
<!-- Template specific Module Positions -->
<position>search</position>
<position>breadcrumb</position>
- Code: Select all
// definitions of module positions default styles
$GK_TEMPLATE_MODULE_STYLES = array(
'search' => 'none',
'banner1' => 'none',
'banner2' => 'none',
'breadcrumb' => 'none',
'header1' => 'gk_style',
'header2' => 'gk_style',
'footer_nav' => 'none',
'login' => 'gk_style',
'register' => 'none',
'socialmedia' => 'none',
and
- Code: Select all
<?php if($this->modules(‘socialmedia’)) : ?>
<div>
<jdoc:include type=”modules” name=”socialmedia” style=”<?php echo $this->module_styles['socialmedia']; ?>” />
</div>
<?php endif; ?>
I can select the position in the module list, but i can't get the module to show on the frontpage.