-
AuthorPosts
-
mx5gr Friend
mx5gr
- Join date:
- September 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
October 5, 2010 at 12:41 pm #154962We 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 Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
October 5, 2010 at 12:59 pm #357802seems you have to edit some CSS for that.
October 5, 2010 at 2:03 pm #357808Is 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 Friendmx5gr
- Join date:
- September 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
October 5, 2010 at 3:46 pm #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 Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
October 5, 2010 at 4:45 pm #357817There 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 Friendmx5gr
- Join date:
- September 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
October 5, 2010 at 5:19 pm #357822So, 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 Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
October 5, 2010 at 5:59 pm #357826The 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 ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
October 6, 2010 at 1:23 am #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.
-
AuthorPosts
This topic contains 8 replies, has 4 voices, and was last updated by Khanh Le 14 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum