Magento XML Layout:强制阻止最后一个
问题描述:
In Magento XML layouts, is there a way of ensuring a block you are adding goes last?
I am aware of before=""
and after=""
for positioning a block relative to other blocks.
I was wondering if there was a way of forcing a block to be the last one rendered?
在Magento XML布局中,有没有办法确保您添加的块最后一次? p> \ n
我知道 我想知道是否有办法迫使一个块成为最后一个渲染的块? p>
div> before =“” code>和
after =“” code>,用于相对于其他块定位一个块。 p>
答
If you set after="-"
everything should work as you want.