-
AuthorPosts
-
October 17, 2015 at 3:54 pm #705584
i added new module position by following your documentation
———
Add new module position
Step 1: Add module position to blockOpen 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 positionWhen 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-Modulei 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 17, 2015 at 6:04 pm #705608Hi
Seems it works fine now
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 17, 2015 at 6:04 pm #752007Hi
Seems it works fine now
October 18, 2015 at 8:07 am #705631it 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 workOctober 18, 2015 at 8:07 am #752025it 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 workSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 23, 2015 at 4:03 am #706663I 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.
1 user says Thank You to Saguaros for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 23, 2015 at 4:03 am #752579I 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.
1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by Saguaros 9 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum