Questions about Magento's layout programming meta-language.
Questions tagged [magento-layout-xml]
61 questions
1
vote
1 answer
Extending default layout in Magento templates
I am trying to add a page that extends my default layout. I put the content in a .phtml file, and then setup the layout like this:

MrGlass
- 9,094
- 17
- 64
- 89
1
vote
1 answer
Magento module layout xml order
I'm using a custom module in my Magento installation, which uses a layout XML file to add some Javascript files into the head section of every page.
This works fine, however these javascript files need to be added AFTER the ones I've already…

HughieW
- 139
- 1
- 4
- 15
0
votes
1 answer
Remove canonical link in Magento 1.9.3.x
I want to remove the canonical link from a html page (Site Map).
I used the following code in a layout and it does not work
…

Chen Hanhan
- 1,549
- 6
- 15
- 20
0
votes
1 answer
File "/i18n/en_US.csv" does not exist in catalog page magento 2
I have a custom theme in magento2.1. I have created a category and added one product under it. When I go to the category page to view that product in list, I got an error saying,
1 exception(s):
Exception #0 (Exception): File "/i18n/en_US.csv" does…

hakkim
- 666
- 15
- 36
0
votes
1 answer
Where is Magento's data for custom modules in admin panel contained?
I made a module for admin panel magento and added fields.
All fields (text, textarea, etc) and their values are showing correctly. When I save it, they are also getting saved.
I cleared session, cookies and browser history and all. The values are…

Mohit Makhija
- 1
- 1
0
votes
1 answer
Magento: loading frontent layout
I have a module in app/code/community/Foo/Bar/. Now, I wrote most of it, but I have a problem adding a into head on every page. My config.xml:
…

Milos
- 981
- 3
- 16
- 41
0
votes
2 answers
Create Custom layout module
Hi i just created custom module in magento and its frontend doesn't work.
The config file :
0.1.0
…

Saeed Darvish
- 621
- 6
- 29
0
votes
2 answers
How to add custom content on Magento Catalog page under each product name?
I have created a custom module that attaches some information to each product. Now, I want to show the custom information on Catalog page under product name.
Here is snapshot to show you what I am trying to do.
Here is my layout xml

Tahir Yasin
- 11,489
- 5
- 42
- 59
0
votes
2 answers
Magento: call a custom block in CMS
I’m trying to create my own module for Magento 1.9.1. In my module, I am trying to call a block in CMS content like this:
{{block type="core/template" template="myNamespace/myModulOutput.phtml"}}
The myModulOutput.phtml template contains a…

SFrey
- 3
- 3
0
votes
1 answer
Magento is not loading my scripts in an order i want
I'm editing local.xml file to load some javascript, one of them is carosule.js and I want it only on my index page so I can use node but it is instantiated by init.js. How can I load them in an order I want?
…

Hassan Nisar Khan
- 302
- 3
- 12
0
votes
1 answer
Magento Layot XML - Change template for 2columns-left.phtml
I'm working on a Magento project which is based on the Ultimo theme and is using the fishpig wordpress extension.
I'm trying to change the 2columns-left.phtml template on the wordpress pages only but can't get it working!
To explain the scenario…

Holly
- 7,462
- 23
- 86
- 140
0
votes
1 answer
Creating a new user and its role using phpmyadmin
I am new to Magento. I want to create a new user and its role using phpmyadmin as I don't have access to my admin account, I dont know why it is so? I think anything might go wrong from my side. Can anyone help me to resolve this issue?
Any help…

Garima
- 9
- 1
- 6
0
votes
0 answers
Logo is not appearing in magento site
may be you have seen many time this question. I have also surfed alot. But could not find the answer. My problem is that my logo is not appearing in my magento site. I have inserted the logo in
system > configuration > General > custom logo
But…

hakkim
- 666
- 15
- 36
0
votes
3 answers
Magento - echo block within another block
I have a CMS Page named Home, with the following code within the Design->Layout Update Xml

William
- 1,033
- 2
- 13
- 25
0
votes
2 answers
local.xml added to Magento layout directory but is not being applied and is ignored
I'm using Alan Storm's advice from: Specify Category specific layout updates without using Magento's administration dashboard using several category specific layout updates inside of my local.xml.
I have validated the xml, and it is being returned…

Masu
- 1,568
- 4
- 20
- 41