-
AuthorPosts
-
Carlos Friend
Carlos
- Join date:
- January 2008
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 29, 2012 at 6:37 am #175545Hello friends!
I have a problem, hope can help.
I need to add the positions shown in the image below.
(content-top2, col-mass3, user11, user12, user13, user14 and user15)I appreciate your valuable help. Greetings!
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 29, 2012 at 9:53 am #446280Hi
Please tell me which version of joomla 1.5 or 2.5 ?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 29, 2012 at 11:09 am #446286Anyway try this changes to your layout
Edit your default layout – Now your top block is like this
<blocks name="top" style="xhtml">
<block name="header" type="header"></block>
<block name="mainnav" type="mainnav" ></block>
<block name="cpanel" type="usertools/cpanel"></block>
<block name="navhelper" type="navhelper"></block>
<block name="topsl" type="spotlight">user1,user2,user3,user4,user5</block>
</blocks>Add these 2 new blocks
<block name="secblock" type="spotlight" special="left" specialwidth="60">content-top2,col-mass-3</block>
<block name="secondrow" type="spotlight">user11,user12,user13,user14,user15</block>
So your new layout will be as shown below
<blocks name="top" style="xhtml">
<block name="header" type="header"></block>
<block name="mainnav" type="mainnav" ></block>
<block name="cpanel" type="usertools/cpanel"></block>
<block name="navhelper" type="navhelper"></block>
<block name="topsl" type="spotlight">user1,user2,user3,user4,user5</block>
<block name="secblock" type="spotlight" special="left" specialwidth="60">content-top2,col-mass-3</block>
<block name="secondrow" type="spotlight">user11,user12,user13,user14,user15</block>
</blocks>Click on Save
In your /templates/ja-teline-iii/templateDetails.xml add the new positions
<position>content-top2</position>
<position>col-mass3</position>
<position>user11</position>
<position>user12</position>
<position>user13</position>
<position>user14</position>
<position>user15</position>
Save the file
This is the result on my localhost
Regards
-
1 user says Thank You to pavit for this useful post
Carlos FriendCarlos
- Join date:
- January 2008
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 29, 2012 at 3:28 pm #446314Thank you very much!
It works, I can put modules in those positions.
But show some “mistakes”, it generates blank spaces between each module, you can watch it here:
Carlos FriendCarlos
- Join date:
- January 2008
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 30, 2012 at 4:00 am #446415I’m using Joomla! 2.5.3
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 30, 2012 at 6:12 am #446422Hi
Sorry but i cannot see on my browser the blank space, could you post a screen shot of your page so i can better understand at what you are referring ?
Thanks
Carlos FriendCarlos
- Join date:
- January 2008
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 30, 2012 at 7:19 am #446430Pavit Hello, thank you very much for your reply.
I’m back to accommodate the modules in the content-top2 positions, col-mass-3, user11. user12, user13, user14 and user15.
When using these positions shows me “white space”.
I leave the picture:
Thank you very much for your support. Greetings!
NOTE: I am currently using these positions, if you like to see it directly in the browser: http://www.quenahost.com/expresion/index.php
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 30, 2012 at 9:24 am #446438Hi
To set all the paddings properties for your new modules positions you need to manage the template.css file
Example : The spotlights position in the bottom of your templates are managed by this code
/* Bot spotlight ---*/
#ja-botsl .main {
border-top: 1px solid #ddd;
padding: 0;
}#ja-botsl .ja-box {
background: url(../images/dot.gif) repeat-y right 0 #fff;
padding: 20px 0;
}#ja-botsl .ja-box.ja-box-right {
background: none;
}.ja-box-right .moduletable, .ja-box-right .moduletable_default {
border-right: 0;
}#ja-botsl .ja-moduletable, #ja-botsl .moduletable {
margin-bottom: 0;
border-bottom: 0;So you need to add the style for your new positions in this file
If you need help try to look at this wiki page
1 user says Thank You to pavit for this useful post
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by pavit 12 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum