I have managed to install same way please check following check list to make sure you have done all steps.
Screenshot
- Code: Select all
http://i41.tinypic.com/9s3tdi.jpg
1. Install Module
2. Install Plugin
3. Add module position into templateDetails.xml file
I have added <position>mega</position>
4. Add module position into "\templates\gk_game_magazine\lib\framework\gk.const.php"
I have added 'mega' => 'none',
5. Add Php code in "\templates\gk_game_magazine\layouts\default.php"
Final code - I removed main menu to make the code neater.
- Code: Select all
<div id="mainContent" class="clear">
<?php if( $this->modules('mega')) : ?>
<div>
<jdoc:include type="modules" name="mega" style="<?php echo $this->module_styles['mega']; ?>" />
</div>
<?php endif; ?>
<?php if($this->generateSubmenu && $this->menu->genMenu($this->getParam('startlevel', 0)+1, $this->getParam('endlevel',-1), true)): ?>
<div id="gkSubmenu" class="clear">
<?php $this->menu->genMenu($this->getParam('startlevel', 0)+1, $this->getParam('endlevel',-1));?>
</div>
<?php endif; ?>
<?php if( $this->modules('header')) : ?>
<div id="gkHeader" class="clear clearfix">
<jdoc:include type="modules" name="header" style="<?php echo $this->module_styles['header']; ?>" />
</div>
<?php endif; ?>
<?php $this->messages('message-position-2'); ?>
<?php $this->loadBlock('top'); ?>
<?php $this->loadBlock('main'); ?>
<?php $this->loadBlock('user'); ?>
</div>
6. Enable Module Mega Menu and Edit below settings.
7. Set Mega Menu module to show in all pages in Menu assignments.
8. Set Position to "mega".
9. Save & Close & Refresh frontend.
10. Works.
11. Tested with j1.7 & j2.5
12. Few css conflicts with slideshow, good luck