-
AuthorPosts
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 24, 2016 at 3:38 am #989183Hi
Open template folder /tpls/block/spotlight-2.php file .
Create another file with name spotlight-3.php and add the same code from the spotlight-2.php file .
Now replace the module position name with new module position like this : http://prntscr.com/db2tk6
Open tpls/default.php file and define the spotlight-3 block as per needs .Also, Open templatedetails.xml file and define the new module position name .
Reference doc : http://www.t3-framework.org/documentation/layout-system.html#add-block
1 user says Thank You to Pankaj Sharma for this useful post
hoknight Friendhoknight
- Join date:
- July 2009
- Posts:
- 400
- Downloads:
- 128
- Uploads:
- 225
- Thanks:
- 110
- Thanked:
- 4 times in 4 posts
November 24, 2016 at 10:22 am #989283Thanks! the position spotlight has been added.
Can you tell me more about if I want to add left column and right column.Which file should be good for create another file and modify code like attached image?Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 24, 2016 at 10:51 am #989296Hi
You can resize the spotlight block module position and make them like u needed . Two position above and two below it.
https://www.joomlart.com/documentation/joomla-faqs/layout-width#module-width
Or you can add new modules position block and define two module positions.
Best Regardshoknight Friendhoknight
- Join date:
- July 2009
- Posts:
- 400
- Downloads:
- 128
- Uploads:
- 225
- Thanks:
- 110
- Thanked:
- 4 times in 4 posts
November 24, 2016 at 11:15 am #989315Yes, I have tried as same as your suggestion in spotlight position. However, there are contain difference hight information in same row. So, it does not fit on page when one module highter than another.
I perfer add new module left and module right but I’m afraid it may out of responsive framework. So, I want to copy exiting file and modify code on it.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 24, 2016 at 11:59 am #989337Yes you can try that way too. Beside this you can follow the documentation link from my first post this will help u to understand how to add positions.
hoknight Friendhoknight
- Join date:
- July 2009
- Posts:
- 400
- Downloads:
- 128
- Uploads:
- 225
- Thanks:
- 110
- Thanked:
- 4 times in 4 posts
November 25, 2016 at 3:36 am #989565Can you have a check why the layout does not fit on page?
There are positions 7-11.-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 25, 2016 at 3:45 am #989571Hi
its hard for me to assume the issue via screenshot .
Kindly post the site details using Private reply .hoknight Friendhoknight
- Join date:
- July 2009
- Posts:
- 400
- Downloads:
- 128
- Uploads:
- 225
- Thanks:
- 110
- Thanked:
- 4 times in 4 posts
November 25, 2016 at 3:47 am #989573This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 25, 2016 at 4:18 am #989584Hi
You published the module on last position : http://prntscr.com/dbhwra
And all other position are empty . its normal view for the module .You have to increase the module position width to full width to show the slideshow in full width .Kindly check this doc : https://www.joomlart.com/documentation/joomla-faqs/layout-width#module-width
hoknight Friendhoknight
- Join date:
- July 2009
- Posts:
- 400
- Downloads:
- 128
- Uploads:
- 225
- Thanks:
- 110
- Thanked:
- 4 times in 4 posts
November 25, 2016 at 4:44 am #989590Thanks.
How to fix the spotlight-2 position keeping in center of page as same as spotlight-1 position?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 25, 2016 at 5:36 am #989600Hi
For this you have to add contianer class in tpls/spotlight-2.php
You will seet3-sl t3-sl-2
Add contianer class
t3-sl t3-sl-2 container
Here : http://prntscr.com/dbict6
1 user says Thank You to Pankaj Sharma for this useful post
AuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 12 months ago.
The topic ‘How to add more positions?’ is closed to new replies.
Jump to forum