-
AuthorPosts
-
January 31, 2016 at 5:20 am #872676
I want to enable a (Position Right) all through the template to accommodate adverts but I don’t understand how it could be achieved after reading the template documentation. I am scared to attempt changes that will disrupt the entire structure of the template. Could you please help me to realize this. See the attached image
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
February 1, 2016 at 10:33 am #873355Hi @winbelltrade,
Please navigate to backend >>> Menus >>> Main Menu >>> Home >>> currently the menu item is assigned with template style ja_directory – Feature. This style doesn’t have left / right sidebar so try to change the Template Style to Use Default and recheck.
February 2, 2016 at 4:00 am #874043I have applied your recommendation but instead of showing the right position the whole directory portion (section 1) does not show again but only section 2. Could you check ityourself.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
February 3, 2016 at 7:21 am #875151Hi @winbelltrade,
I created new template style ja_directory – Home and assign to page home. Currently the position section-1 stay above the body section (left column / component / right column) so you will have to create new position and place it on top of component part.
Open file templates/ja_directory/tpls/blocks/mainbody/one-sidebar-left.php and look for this code :
<?php if($this->hasMessage()) : ?>
then update as below :
<?php if ($this->countModules('section-3')) : ?> <!-- SECTION 3 --> <section class="wrap t3-section t3-section-3 <?php $this->_c('section-3') ?>"> <jdoc:include type="modules" name="<?php $this->_p('section-3') ?>" style="raw"/> </section> <!-- //SECTION 3 --> <?php endif ?> <?php if($this->hasMessage()) : ?>
replicate to file one-sidebar-right.php and two-sidebar.php as well. Last step is to move some module from position section-1 to section-3 to suite your need.
February 23, 2016 at 4:33 pm #889314I followed your recommended action step by step and it could not create the position on the right as I wanted for the adverts. Also the position "section-3" does not exist on the template to move some modules to. I need further assistance please.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
February 24, 2016 at 8:20 am #889581Hi @winbelltrade,
Please provide a temporary FTP account via private reply, I will modify this part for you.
February 24, 2016 at 9:24 am #889601This reply has been marked as private.Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
February 25, 2016 at 9:16 am #890179Hi @winbelltrade,
Look like the information is not correct, could you please recheck the FTP account ?
February 25, 2016 at 9:57 am #890193This reply has been marked as private.Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
February 26, 2016 at 5:21 pm #890954Hi @winbelltrade,
The position section-3 is not ready to be used. In case you want to refer later, I changed 3 files as mentioned above :
- templates/ja_directory/tpls/blocks/mainbody/one-sidebar-left.php
- templates/ja_directory/tpls/blocks/mainbody/one-sidebar-right.php
- templates/ja_directory/tpls/blocks/mainbody/two-sidebar.php
Next, in addition to select position section-3, open file templates/ja_directory/templateDetails.xml and add this line :
<position>section-2</position>
duplicate it and name section-3 instead.
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 9 replies, has 2 voices, and was last updated by Adam M 8 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Enable position "right" across all pages of the template
Viewing 10 posts - 1 through 10 (of 10 total)