test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • emmlnbn Friend
    #184333

    Hi,
    I would like to add a custom module position above #mainnav ( below #header)
    I added a new position in TemplateDetails.xml. I opened the index.php file in the template directory, however it’s unclear where the new position needs to be added there.

    If you could send a sample snippet of code that would be great thanks

    emmlnbn Friend
    #481042

    oh i figured it out. here is the code:
    in index.php in the template folder – I added the code between the
    <!– custom –> <!– //custom –> brackets
    —————————————————————————

    <!– HEADER –>
    <div id=”header” class=”wrap”>
    <div class=”main header-main clearfix”>

    <!– LOGO –>
    <div id=”logo”>
    <h1>
    <a href=”<?php JURI::base(true) ?>” title=”<?php echo JText::_(‘JA_DESC’); ?>”><span><?php echo JText::_(‘JA_NAME’); ?></span></a>
    </h1>
    </div>
    <!– //LOGO –>

    <!– custom –>
    <div id=”custom” class=”social”>
    <h1>
    <jdoc:include type=”modules” name=”custom” />
    </h1>
    </div>
    <!– //custom –>

    <!– MAINNAV –>
    <div id=”mainnav” class=”has-toggle”>
    <div class=”btn-toggle menu-toggle”>
    <span>Menu</span>
    </div>
    <div class=”inner menu-inner clearfix”>
    <jdoc:include type=”modules” name=”mainnav” />
    </div>
    </div>
    <!– //MAINNAV –>
    </div>
    </div>
    <!– // HEADER –>

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 1 voice, and was last updated by  emmlnbn 11 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum