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

    Hi
    I want to add 3 module positions over the main text, like JA Wezen (newsflash, latest news and popular positions), I already add the corresponging lines in TemplateDetails.xml (position tag), now, I want to add 3 index.php codes like this:
    [PHP]?php if ($this->countModules(‘new module’)) : ?>
    <div>
    <jdoc:include type=”modules” name=”new module” style=”xhtml” />
    </div>
    <?php endif; ?>
    [/PHP]
    But, I don’t know which line should I insert this code in index.php

    Please help me.

    Thanks

    Anonymous Moderator
    #289631

    Hi jdponce,

    Please let me your positions, which you want to insert code, i will support you to insert code to those positions

    jdponce Friend
    #289725

    Thanks, I want to add at least two new positions: user10 and user11, I already added them in TemplateDetalis.xml like this:

    <positions>
    <position>hornav</position>
    <position>breadcrumbs</position>
    <position>banner</position>
    <position>left</position>
    <position>right</position>
    <position>top</position>
    <position>user1</position>
    <position>user2</position>
    <position>user3</position>
    <position>user4</position>
    <position>user5</position>
    <position>footer</position>
    <position>syndicate</position>
    <position>debug</position>
    <position>user10</position>
    <position>user11</position>

    </positions>

    The module positions I want below hornav position on JA Purity in middle column. I want this looks like some templates that have “Popular and Latest news” modules in that position, I hope you understand what I want.
    Then, I want to know where should I have to insert the code I posted in first thread in index.php. Also, I don’t know if that code is right or not.
    I’ll appreciate your help.

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

This topic contains 3 replies, has 2 voices, and was last updated by  jdponce 15 years, 10 months ago.

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