-
AuthorPosts
-
December 27, 2011 at 2:56 am #172185
Need to add additional positions under the main content (article), which must sit directly under.
The new 4 positions is what I need to add.
If anyone can help that would be great.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 27, 2011 at 3:14 am #431296As the positions you want to add pretty much mirror the above “user1, user2, user3” and “left” positions, then you can try to simply duplicate the blocks within your Template Manager–Layouts–Default (Edit) . . .
suggestion as follows:
<blocks name="middle" colwidth="22">
<block name="content-mass-top" style="jaraw">content-mass-top</block>
<block name="content-top" type="spotlight">user1,user2,user3</block>
<block name="inset2">left</block>
<block name="right2">right</block>
</blocks>
<blocks name="middle-bot" colwidth="22">
<block name="content-middle-bot" type="spotlight">user11,user12,user13,user14</block>
<,/blocks>
SAVE CHANGES . . . CLEAR CACHE . . . REFRESH and examine new position layout.
Let me know if that works for you.
December 27, 2011 at 2:01 pm #431371Thanks, but they will just sit under the user1, 2, 3 left 4, not under the main content box surely?
I have added positions to the layout, so I know how it works, but there is no block for main content, to insert after in the template layout.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 27, 2011 at 5:05 pm #431398Perhaps I did not provide my suggestion correctly . . . or else, I’m not fully understanding your follow-up response.
In either case, what I meant was after this code (within Template Manager–Layouts–Default)
<blocks name="middle" colwidth="22"> <block name="content-mass-top" style="jaraw">content-mass-top</block> <block name="content-top" type="spotlight">user1,user2,user3</block> <block name="inset2">left</block> <block name="right2">right</block> </blocks>then add this . . . .
<blocks name="middle-bot" colwidth="22"><block name="content-middle-bot" type="spotlight">user11,user12,user13,user14</block></blocks>If I misunderstood your follow-up response, perhaps you can provide a cut-and-paste of what you currently have within your default block layout.
December 27, 2011 at 6:25 pm #431423Hi Tom
Thanks for your help Tom with this, I am not sure if this actually possible what I am trying to do.
In ex1.jpg shows the 4 new positions I would like to add.
in ex2.jpg is where I think the 4 new positions will show up from what you said.
Here is the layout.
<?xml version="1.0" encoding="utf-8"?>
<layout name="desktop">
<!--Extra css load for this layout-->
<stylesheets>
</stylesheets>
<blocks name="top" style="xhtml">
<block name="top-panel" type="modules" style="jaraw" main-inner="1">top-panel</block>
<block name="header" type="header" main-inner="1"></block>
<block name="topbar" type="topbar"></block>
<block name="mainnav" type="mainnav"></block>
<block name="cpanel" type="usertools/cpanel"></block>
</blocks>
<blocks name="middle" colwidth="27">
<block name="content-mass-top" style="jaraw">content-mass-top</block>
<block name="content-top" type="spotlight">user1,user2,user3</block><block name="inset2">left</block>
<block name="right2">right</block>
</blocks><blocks name="bottom" style="xhtml">
<block name="botsl" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
<block name="navhelper" type="navhelper" main-inner="1"></block>
<block name="footer" type="footer"></block>
<block name="ie-rounded" type="ie-rounded" no-main="0" no-wrap="1"></block>
</blocks>
</layout>Regards
Lee
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by sketchsurf 12 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum