Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • sketchsurf Friend
    #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.


    1. layout
    TomC Moderator
    #431296

    As 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.

    sketchsurf Friend
    #431371

    Thanks, 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 Moderator
    #431398

    Perhaps 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.

    sketchsurf Friend
    #431423

    Hi 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


    1. ex1
    2. ex2
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