adv_top and adv_bottom module position

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Tue Apr 17, 2012 4:02 pm
Jak w szablonie uaktywnić te pozycje modułów? Dodałem je do pliku templateDetails.xml, są widoczne teraz jako pozycje, ale moduł przypisany do pozycji nie wyświetla się.
User avatar
Senior Boarder

GK User
Tue Apr 17, 2012 4:16 pm
Hi there,

Can you please repost your question in English then I can understand to help you out? Also it would be helpful if you can give us the link where we can see the problem.

Thanks,
User avatar
Platinum Boarder

GK User
Tue Apr 17, 2012 5:45 pm
As in the template module to activate these items? I added them to a file templateDetails.xml, are seen now as positions, but the module is assigned to the position does not appear.
User avatar
Senior Boarder

GK User
Wed Apr 18, 2012 3:07 pm
Hi,

This is not a natural Joomla template, it is developed base on GK Gavern framework so there are some things different like adding a new module position, after define one in xml file, you also need to load it in some block, check this guide to learn more https://www.gavick.com/forums/postnote/ ... tml#p67691

Cheers,
User avatar
Platinum Boarder

GK User
Wed Apr 18, 2012 7:50 pm
OK. It works.
In file: \templates\gk_twn2\layouts\blocks\main.php
in line 71 i added the code:
Code: Select all
               <?php if($this->modules('adv_top')) : ?>
               <div id="adv_top">
                  <jdoc:include type="modules" name="adv_top" style="<?php echo $this->module_styles['adv_top']; ?>" />
               </div>
               <?php endif; ?>


Thank you for your help
Joachim
User avatar
Senior Boarder

GK User
Wed Apr 18, 2012 9:40 pm
Yeah you did it correctly. Feel free to let me know if you need any other helps Joachim.

Cheers,
User avatar
Platinum Boarder


cron