-
AuthorPosts
-
October 9, 2010 at 9:48 pm #155127
Well I understand how blocks work, in ways I find it limiting and at the same time powerful. Limiting meaning blocks are not uniform, blocks in top, middle, and bottom do not behave the same.
To explain myself, a block in my mind is a container with specific set of rules of display attached that have been predefined in the T3 II Plugin. We have the ability to override rules of display for our own uses.
What I do understand
For positioning, a framework is a handy tool to get the layout correct for each user. Being able to template blocks creates the freedom for repetition of display, like rows and columns. Instead of limiting a person to manually creating the styling conditions and layouts for different or similar circumstances, it makes sense to create predefined rules of display most users can utilize.
What I do not understand
Does Joomla not already follow a container pattern in this sense already through its <jdoc:include type=”modules” name=”” /> and <jdoc:include type=”components” name=”” />. Couldn’t I just add a few css lines of a classes to get the same layout structure.
What I find limiting, I cannot put “header” and “mainnav” blocks together because of the predefined properties without overrides. But then I came to the conclusion that what was the point when I could create a new block and place the modules next to each other inside the content block. What then confused me even more is why do we do this in the middle block by allowing left and right columns?
korb Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
October 9, 2010 at 9:52 pm #358318You can merge header & mainnav into a single block, but what is the point in that?
xiondesigns Friendxiondesigns
- Join date:
- May 2010
- Posts:
- 70
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
October 11, 2010 at 1:29 pm #358461<em>@korb 197684 wrote:</em><blockquote>You can merge header & mainnav into a single block, but what is the point in that?</blockquote>
For example, if you want to create the menu in the same line as the logo, floatting right.
How would we do that? (with megamenu)
korb Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
October 11, 2010 at 3:57 pm #358476You can this:
– create a layout to exclude the header,
– create a block override for mainnav.php
– copy the logo code into the mainnav.php
– make style adjustmentsYou can do all that into your own theme, without altering the core code of the template.
Danny -
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by korb 14 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum