Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • mx5gr Friend
    #154962

    We have defined a new template using T3v2 framework. In the middle block, we have:


    <blocks name="middle" colwidth="41">
    <block name="content-mass-top">slide</block>
    <block name="content-top" type="spotlight">left1,left2</block>
    <block name="right2">right2</block>
    <block name="content-mass-bottom">bot1</block>
    </blocks>

    We want to add another block to the right and another at the bottom, such as:


    <blocks name="middle" colwidth="41">
    <block name="content-mass-top">slide</block>
    <block name="content-top" type="spotlight">left1,left2</block>
    <block name="right1">right1</block>
    <block name="right2">right2</block>
    <block name="content-mass-bottom">bot1</block>
    <block name="content-mass-bottom2">bot2</block>
    </blocks>

    The new blocks do not behave in the same way as their corresponding ones. Eg, right1 is not aligned side-by-side to right2 and content-mass-bottom2 is not aligned under and much in the same way as content-mass-bottom.

    Is there a module map for T3v2 framework, in the same way as in T3v1, which describes the different blocks and positions? We have gone through the wiki but only one left or right etc can be defined, as per the instructions.

    korb Friend
    #357802

    seems you have to edit some CSS for that.

    veeco Friend
    #357808

    Is there content-mass-bottom2 block by default ? as far as i know there’s only content-mass-top and content-mass-bottom. if content-mass-bottom2 exist by default, please let me know the reference

    mx5gr Friend
    #357812

    <em>@veeco 196998 wrote:</em><blockquote>Is there content-mass-bottom2 block by default ? as far as i know there’s only content-mass-top and content-mass-bottom. if content-mass-bottom2 exist by default, please let me know the reference</blockquote>

    That’s the point of my question. If we want to define extra blocks or to activate all blocks available, much in the same way as in T3v1 framework, how is it feasible?

    korb Friend
    #357817

    There is no such content-mass-bottom2 position but you can create it within the layout and create a block to be assigned to that position.

    mx5gr Friend
    #357822

    So, basically you mean to add another block under content-mass-bottom, which is rendered by middle.php block, right?

    The question asked is where in middle.php block definitions are the content-mass-top, left & right positions defined?

    korb Friend
    #357826

    The content-mass and column-mass positions are defined by the core plugin, and the blocks are also generated by the core plugin. This means that for additional positions you have to create your own blocks.

    Khanh Le Moderator
    #357858

    <em>@korb 197010 wrote:</em><blockquote>There is no such content-mass-bottom2 position but you can create it within the layout and create a block to be assigned to that position.</blockquote>

    It’s true that there’s no block with name “content-mass-bottom2”. In the “middle” area, only defined names are valid (http://wiki.joomlart.com/images/2/2b/Ja_framework.jpg). However, multi-positions allow to load into one block. In the above case, if you want to load 2 module positions into the bottom of content, you could do like this:

    <block name=”content-mass-bottom”>bot1,bot2</block>

    For the right1&right2 block, if you enable those 2 blocks, the blocks will display side by side. You don’t need add any css to make it works. If not, please give me your url so I can take a look.

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 4 voices, and was last updated by  Khanh Le 14 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum