Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • efestione Friend
    #154987

    Hi all,
    do you know how to insert a new module position in mainnav?

    I would like to achieve the result you can see in image below…

    thank you all!
    Alex


    1. new_layout
    korb Friend
    #357924

    In the template you have, create a block override for mainnav.php to include your desired position.

    D 😉

    efestione Friend
    #357927

    <em>@korb 197140 wrote:</em><blockquote>In the template you have, create a block override for mainnav.php to include your desired position.

    D ;)</blockquote>

    Yeee, done.
    I have added

    <?php if($this->countModules('rss')) : ?>
    <div id="ja-rss">
    <jdoc:include type="modules" name="rss" />
    </div>
    <?php endif; ?>

    in mainnav.php

    and

    /* Rss Module ---*/
    #ja-rss { bottom: 8px; position: absolute; right: 10px; }

    in template.css.

    Thank you very much!
    Alex

    korb Friend
    #357950

    Excellent, this could go into tips & tricks section of our forum.
    D

    seherzade Friend
    #374606

    Can you explain tutorial step by step? I am trying to get search module in this position,
    Thanx

    Sherlock Friend
    #374708

    Dear secherzade,

    You can take following steps
    1) Copy the file of mainnav.php from the base themes folder to your template folder if it is not there,that mean copy the file of pluginssystemjat3base-themesdefaultblocksmainnav.php ,put it into the folder of templatesja_teline_iii_v2blocks

    2) Open the copied and do as efestione’s guide (above)

    I hope it is clear enought for you !

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

This topic contains 6 replies, has 4 voices, and was last updated by  Sherlock 13 years, 10 months ago.

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