test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • rdwebtools Friend
    #153589

    Hi. I would like to have 3 modules position in header. I made a sample image . Can any one tell me the procedure. Thanks in Advance. For a JA Teline 3 Template


    1. 3-modules-in-header
    gray Friend
    #353164

    Logics in creating new module positions is a little bit described in this thread
    how to create new module positions above logo in tellina iii template
    But instead of logo position, you should add new code in the heading positions.

    rdwebtools Friend
    #353176

    I am getting Syntax error. If can add a new module position in between logo and search that should be fine. Please help me to create a new module position.

    gray Friend
    #353177

    <em>@rdwebtools 190942 wrote:</em><blockquote>I am getting Syntax error. If can add a new module position in between logo and search that should be fine. Please help me to create a new module position.</blockquote>

    Please give the code you added and the syntax error which appear.

    rdwebtools Friend
    #353193

    Is there a way in which i can add a module position between the logo and search modules?
    Thankyou.

    Saguaros Moderator
    #353242

    <em>@rdwebtools 190967 wrote:</em><blockquote>Is there a way in which i can add a module position between the logo and search modules?
    Thankyou.</blockquote>
    You open the file: templatesja_teline_iiilayoutsblocksheader.php and find the following code:

    [PHP]
    <?php if($this->countModules(‘search’)) : ?>
    [/PHP]
    replace:
    [PHP]
    <?php if($this->countModules(‘topmiddle’)) : ?>
    <div id=”ja-topmiddle”>
    <jdoc:include type=”modules” name=”topmiddle” />
    </div>
    <?php endif; ?>

    <?php if($this->countModules(‘search’)) : ?>
    [/PHP]
    and add the following css into the template.css file:

    #ja-topmiddle {

    float:left;
    padding-left:10px;
    width:300px;
    }

    When done, the template will have a new position named “topmiddle“, you ‘ll your modules in there

    blinder999 Friend
    #353330

    Thanks for that, just what I needed too!

    rdwebtools Friend
    #353366

    Perfect … Thank you Very Much..

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

This topic contains 8 replies, has 4 voices, and was last updated by  rdwebtools 14 years, 4 months ago.

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