Questions about Magento's layout programming meta-language.
Questions tagged [magento-layout-xml]
61 questions
0
votes
1 answer
Update Handle Breadcrumbs Not Working
any idea why following layout update handle is not working? i'm trying copy breadcrumbs from customer_address_index to customer_address_new and customer_address_new?

Ansyori
- 2,807
- 3
- 29
- 37
0
votes
1 answer
3.1 The Why and Where of the Package Layout
Chapter 3.1 of No_Frills_Magento_Layout book explains about the folder where layouts are stored and how does Magento gets the name of Layout files.
It tells that Magento gets this name from config.xml of your module and then load these layout…

SHARMA
- 7
- 1
- 3
0
votes
1 answer
0
votes
1 answer
Magento display static block in container2
I have to many custom options on product page.
I would like to fill out the empty space on the left with a static block that appear only if more there is more than 4 custum options in product view.
http://goo.gl/Y7JMQf

Italus
- 11
- 4
0
votes
1 answer
Removing magento cms page layout update from mobile theme
I'm using cms HomePage in magento to show my block.
It reuqires some , so I'm adding it on layout update tab. It works fine, but...
This layout update is applied on mobile theme too, what is wrong behaviour. How can i prevent it?
Thanks for…

andrew8666
- 41
- 1
- 8
0
votes
1 answer
No Frills magento layout
I am going through examples on "No frills magento layout" and on example 1.11 "A full page layout" is not working for me
i am getting blank page
looks like there is a problem with fetchview
public function fetchView ( $fileName )
{
// ignores file…

Mubashir
- 567
- 3
- 8
- 25
0
votes
1 answer
Magento - remove setTemplate action from block
I'm extending the CatalogSearch/Advanced/Result block which in its layout XML file calls:
...
to set a specific root template when this block is being displayed. I'd like to undo this via my own…

Harry Muscle
- 2,247
- 4
- 38
- 62
0
votes
1 answer
Magento Layout and Layered Navigation
I am trying to create a custom page for which I have the following XML using an empty template.
In my Controller, I have
public function indexAction()
{
$this->loadLayout();
…

henrybai
- 210
- 3
- 10
0
votes
1 answer
Mageneto catalog categories layout xml handle?
So I'm running into a strange issue. I'm trying to do a layout update by latching onto the handle for the controller action that corresponds to this URL: ".../index.php/admin/catalog_category/index/".
Essentially, in the admin panel, when the user…

Emil Stewart
- 488
- 1
- 7
- 17
0
votes
1 answer
Set position of block programmatically in Magento
I want to set the position of a block programmatically in Magento.
For example I wish that I can set the position of a block as:
Below 'content' of product view page
In the side bar (left/right)
Before/after any other block.
Please suggest the way…

Arvind Bhardwaj
- 5,231
- 5
- 35
- 49
0
votes
1 answer
Magento: Related products on order success
Desired result:
On the order success page I want to show products that are related to the ones purchased by the user.
What I did so far:
product attribute that contains related products
added echo $this->getChildHtml('related_products_list'); in…

Vlad Preda
- 9,780
- 7
- 36
- 63
0
votes
1 answer
Magento: Rewritten controller can not redirect to Login page after Session time out
We have purchased the Embedded ERP Extension for Magento. We have customized it, and have rewritten few controllers also. here is a snippet from my config.xml file