By having it the way you had planned for 1.3.3 it gives it far more flexibility. I agree they way it currently is, is far more easier to make changes, but you restricted so much by having only one layout file.Daniel wrote:i'm thinbking of putting back to just drilling down now.CodeBits wrote:Well it's a good cart either way.
Thanks Daniel
christ!
The other issue is, some people here have said that they prefer just to use conditional If statements on blocks of code if your wanting to show / hide a block depending on a page, Yeah - that's fine if your using the default template.
When i code my design into XHTML, I do it from scratch, not based off the original markup, and depending on the type of design i'm doing my XHTML Code could be drastically different from a 3-column layout to a 1 column layout and therefore cannot just use a conditional if on a small block of code but would have to do it for most of the template.
Having to do this in my Layout.tpl i find very...constricting
Code: Select all
if ( ($this->request->get['route'] == 'catalog/product') || ($this->request->get['route'] == 'catalog/checkout') ) {
<div>
<div>
<div></div>
</div>
</div>
} else {
<div>
<div></div>
</div>
}
Why use the old method when you know it requires a 'tacky' apprach to get the result that can be done much more efficiently, albeit requires a touch more work.