-
AuthorPosts
-
April 11, 2016 at 8:32 pm #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 ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 12, 2016 at 2:40 am #912626Hi
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.April 12, 2016 at 6:48 pm #917212I added the details, please, help.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 13, 2016 at 1:47 am #917296Hi
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 .April 13, 2016 at 7:50 pm #917696What 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/arvpkvPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 14, 2016 at 1:44 am #917773Hi
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 -
AuthorPosts
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