Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • kandsgroup Friend
    #152799

    i need to create new module position like this site which is above the logo? how can i do that please any one help me.

    screen shot http://j.imagehost.org/0243/above-logo.jpg

    Saguaros Moderator
    #350886

    Hello pls open the file: templates/ja_teline_iii/layouts/blocks/header.php

    and try to add the following code at top of the file;
    [PHP]
    <?php if( $this->coundModules(‘toptop’) ) : ?>
    <div class=”toptop”>
    <div class=”main”>

    <div class=”inner clearfix”>
    <jdoc:include type=”modules” name=”toptop” />
    </div>
    </div>

    </div>

    <?php endif; ?>
    [/PHP]

    after done the template will have a new position named is “toptop”

    Gooduck

    crescendo06 Friend
    #351129

    is that enough? I tried adding this ?tp=1 at the end of my url, but the position toptop dia not appear…

    kandsgroup Friend
    #351200

    <em>@tienhc 187813 wrote:</em><blockquote>Hello pls open the file: templates/ja_teline_iii/layouts/blocks/header.php

    and try to add the following code at top of the file;
    [PHP]
    <?php if( $this->coundModules(‘toptop’) ) : ?>
    <div class=”toptop”>
    <div class=”main”>

    <div class=”inner clearfix”>
    <jdoc:include type=”modules” name=”toptop” />
    </div>
    </div>

    </div>

    <?php endif;?>
    [/PHP]

    after done the template will have a new position named is “toptop”

    Gooduck</blockquote>

    i did the same also no changes in the new postion. is there missing anything?

    Saguaros Moderator
    #351461

    Hello

    You must to put modules on the toptop position, if have not any modules putting on this, you can see this position via check with this ?tp=1

    shiller Friend
    #357170

    The right code should be:

    [PHP]<?php if( $this->countModules(‘toptop’) ) : ?>
    <div class=”toptop”>
    <div class=”main”>

    <div class=”inner clearfix”>
    <jdoc:include type=”modules” name=”toptop” />
    </div>
    </div>

    </div>

    <?php endif; ?>[/PHP]

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

This topic contains 6 replies, has 4 voices, and was last updated by  shiller 14 years, 1 month ago.

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