test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • ahmansini1 Friend
    #705584

    i added new module position by following your documentation

    ———
    Add new module position
    Step 1: Add module position to block

    Open the block file that you want to add new module position to

    <jdoc:include type=”modules” name=”<?php $this->_p(‘your_module_position_name’) ?>” />
    <!– SIDEBAR 1 –>

    <div class=”ja-sidebar ja-sidebar-1 <?php echo $this->getClass($layout, $col) ?>” <?php echo $this->getData ($layout, $col++) ?>>

    <jdoc:include type=”modules” name=”<?php $this->_p($sidebar1) ?>” style=”JAxhtml” />

    </div>

    <!– //SIDEBAR 1 –>
    Step 2: Define the new created module position

    When done, you need to define the new created module position in the file: TemplateDetail.xml

    <positions>
    <position>your_module_position_name</position>
    </positions>
    <positions>
    <position>position-14</position>
    <position>position-15</position>
    <position>custom-position</position> <! my created module position />
    </positions>

    ———————————–
    i named my new module position: Main-Module

    i added a module in the position but it doesn’t show up

    it should’ve appeared inside this red area:

    please help me asap

    pavit Moderator
    #705608

    Hi

    Seems it works fine now

    pavit Moderator
    #752007

    Hi

    Seems it works fine now

    ahmansini1 Friend
    #705631

    it doesn’t work except when sidebar-1 and sidebar-2 both are published
    means if i only used one sidebar the new module position wouldn’t work

    ahmansini1 Friend
    #752025

    it doesn’t work except when sidebar-1 and sidebar-2 both are published
    means if i only used one sidebar the new module position wouldn’t work

    Saguaros Moderator
    #706663

    I guess you load position in two sidebar block so that only when you publish 2 sidebars, it can display.

    Kindly go to directory: /root/templates/ja_social_ii/tpls/blocks/mainbody, you will see different blocks there and load the new module position in associated block. You can add in all blocks so that it will not be missed in any layout.

    Saguaros Moderator
    #752579

    I guess you load position in two sidebar block so that only when you publish 2 sidebars, it can display.

    Kindly go to directory: /root/templates/ja_social_ii/tpls/blocks/mainbody, you will see different blocks there and load the new module position in associated block. You can add in all blocks so that it will not be missed in any layout.

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

This topic contains 7 replies, has 3 voices, and was last updated by  Saguaros 9 years, 2 months ago.

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