Add a Module
- GK User
- Tue Sep 04, 2012 9:31 pm
I am trying to add a module position to the top right of the app template (where userarea is). I would like to add a bar of social media icons there. I have followed the directions in http://www.gavick.com/documentation/joo ... -position/ and see the position in the backend of the site, however when I add the custom html, publish and choose the position, it doesn't show up.
The site I am working on is http://kimberlyhensleyevents.com/
The site I am working on is http://kimberlyhensleyevents.com/
-

- Expert Boarder
- GK User
- Tue Sep 04, 2012 11:42 pm
Hi
Follow this instructions:
1) Open templateDetails.xml file and add your position (e.g.)
2) Open ../lib/framework/gk.const.php and on definitions of module positions default styles add this line:
3) Open ../layouts/blocks/logo.php and at the end of the document, add this fragment:
4) Add the following line on override.css file:
Done
Cheers
Follow this instructions:
1) Open templateDetails.xml file and add your position (e.g.)
- Code: Select all
<!-- Custom Module Positions -->
<position>top_header</position>
2) Open ../lib/framework/gk.const.php and on definitions of module positions default styles add this line:
- Code: Select all
'top_header' => 'none',
3) Open ../layouts/blocks/logo.php and at the end of the document, add this fragment:
- Code: Select all
<?php if( $this->modules('top_header')) : ?>
<div id="gkTopHeader" class="clearfix">
<jdoc:include type="modules" name="top_header" style="<?php echo $this->module_styles['top_header']; ?>" />
</div>
<?php endif; ?>
4) Add the following line on override.css file:
- Code: Select all
#gkTopHeader {float: right; width: 500px; margin-top: 10px}
Done
Cheers
-

- Platinum Boarder
- GK User
- Thu Sep 06, 2012 2:39 am
Thank you!!!!!!!!!!
-

- Expert Boarder
3 posts
• Page 1 of 1
