Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • igon2 Friend
    #912534

    Hi, how to change and add modules positions for template?

    Why I see different positions on the site: http://prntscr.com/ar2aqd and different here: http://prntscr.com/ar2cfl why I see footer-1 and footer-2 on the site and don’t see them on the template layout?

    Hi, how to change and add modules positions for template?
    Why I don’t see footers positions on layout?

    Pankaj Sharma Moderator
    #912626

    Hi
    Which position is different on site ? I saw in screenshot its same like layout positions .
    For footer positions kindly edit your first post and submit your site super user details for Staff/Mods . I will check it on your site.

    igon2 Friend
    #917212

    I added the details, please, help.

    Pankaj Sharma Moderator
    #917296

    Hi
    Footer-1 and footer-2 are custom position name , Not in layout , its used by JA ACM module .
    When u load add a position it loads in site footer by acm-footer modules.
    You can change the module position name from acm-footer and publish module on new position name , Its only to load module (Like used {load position }) .
    All the module positions are defined in the tpls/blocks folder . You can add new position from the same block files .

    igon2 Friend
    #917696

    What does it mean?: http://prntscr.com/arvj4j
    What is the simplest way to add a new position?
    I need a new position (like wedding-home) between submenu and body here: http://prntscr.com/arvpkv

    Pankaj Sharma Moderator
    #917773

    Hi
    Spotlight block contain 6 module positions .
    You can see them in /tpls/blocks/spotlight-1.php file .
    Regarding creating new module position under submenu you can add the new module position code in submenu.php file in blocks folder

    <?php if ($this->countModules('new')) : ?>
    <!-- new POSITION -->
    <div class="wrap sections-wrap <?php $this->_c('new') ?>">
        <jdoc:include type="modules" name="<?php $this->_p('new') ?>" style="T3section" />
    </div>
    <!-- //new POSITION -->
    <?php endif ?>
    

    Here : http://prntscr.com/arzerp

    If you want to create separate block you can create new blocks file like submenu.php add above code in that file .
    Then define the new module position name in TemplateDetails.xml file .

    Now call the block file (new.php) in the layout file /tpls/default.php
    Here : http://prntscr.com/arzfjv

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

This topic contains 5 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 7 months ago.

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