test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • brahimnz Friend
    #157725

    Hi,
    i tryed to add other module to the templet but i could not change the postion of it in templete.css file

    the first step was ok which is create module in index.php file.
    /*****************************************************************/
    <div id=”newflash”>
    <jdoc:include type=”modules” name=”top” style=”raw” />
    </div>
    <div class=”newflash-close”></div>
    /******************************************************************/

    but the positon stel on the top

    I try to change the id and copy code in templete.css.
    I created new postion to absoulte. but does not work.

    can you please advise me to how can i make the modul on the right plase which i need?

    thanks

    Hayden A Friend
    #368054

    hi brahimnz,
    you open file index.php find line
    [PHP]<!– BEGIN: CONTENT –>
    <div id=”<?php echo $divid ?>”>
    <?php if ( $this->CountModules(‘top’) ) { ?>
    <div id=”newflash”>
    <jdoc:include type=”modules” name=”top” style=”raw” />
    </div>
    <div class=”newflash-close”></div>
    <?php } ?>
    <jdoc:include type=”component” />

    </div>
    <!– END: CONTENT –>[/PHP]

    and add line
    [PHP]<!– BEGIN: CONTENT –>
    <div id=”<?php echo $divid ?>”>
    <?php if ( $this->CountModules(‘top’) ) { ?>
    <div id=”newflash”>
    <jdoc:include type=”modules” name=”top” style=”raw” />
    </div>
    <div class=”newflash-close”></div>
    <?php } ?>
    <jdoc:include type=”component” />
    <?php if ( $this->CountModules(‘bottom’) ) { ?>
    <div id=”newflash1″>
    <jdoc:include type=”modules” name=”bottom” style=”raw” />
    </div>
    <div class=”newflash-close1″></div>
    <?php } ?>

    </div>
    <!– END: CONTENT –>[/PHP]

    brahimnz Friend
    #368082

    Thans for fast reply

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

This topic contains 3 replies, has 2 voices, and was last updated by  brahimnz 14 years ago.

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