Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • sanjiovani Friend
    #146359

    I would like to create individual mod positions both horizontally and vertically to replace the bot_content mod – can someone provide me the code necessary to create the mod positions

    thanks

    John Wesley Brett Moderator
    #325106

    I believe you are referring to the Main Content area of the page…the “content-bot”.
    This is a Joomla Core area…not created by Joomlart…and to modify Core code goes well beyond the scope of a 3rd party template forum.

    You would do better looking in the developer forums at http://www.joomla.org

    Good luck!
    John.

    micrantha Friend
    #325124

    Hello sanjiovani,

    Maybe this is what you mean:

    Go to template > layouts > blocks > main.php
    Find the code for the module position content-bot:


    <?php
    $content_bottom = $this->getPositionName ('content-bottom');
    if($this->countModules($content_bottom)) : ?>
    <div class="ja-content-bottom clearfix">
    <jdoc:include type="modules" name="<?php echo $content_bottom;?>" style="raw" />
    </div>
    <?php endif; ?>

    For adding new module-positions see my post:
    http://www.joomlart.com/forums/showpost.php?p=153060&postcount=2


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

    You have to insert your module in the right Block.

    Succes,
    Micrantha

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

This topic contains 3 replies, has 3 voices, and was last updated by  micrantha 14 years, 12 months ago.

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