Skip to main content

Timeline for using local.xml to avoid repetition

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Apr 13, 2017 at 12:55 history edited CommunityBot
replaced http://magento.stackexchange.com/ with https://magento.stackexchange.com/
S Mar 27, 2015 at 13:44 history suggested user2045 CC BY-SA 3.0
spelling fix
Mar 27, 2015 at 8:36 review Suggested edits
S Mar 27, 2015 at 13:44
Sep 20, 2013 at 7:34 vote accept tony09uk
Sep 19, 2013 at 15:04 answer added benmarks timeline score: 6
Aug 7, 2013 at 15:00 comment added Sam That's what I would suggest. Unlike the config xml files which seem to load xml files indiscriminately, I've always needed the path/name of layout xml files to be discretely referenced in the config.xml of a module in order to run properly. Since, I'm not seeing a file named local.xml in my layout folders, that file might not be referenced anywhere. So, you'll probably want to move these layout updates into your module's layout xml or copy a related layout file into the theme you're using and make the changes there.
Aug 7, 2013 at 14:37 comment added tony09uk would the file path change as local.xml is in frontend/base/default/layout/ and layoutFileForModule.xml is in frontend/base/default/layout/modulename/, I assume it should not matter, but as a test I added the action method=addCss node to page.xml and the css was not added
Aug 7, 2013 at 13:04 comment added benmarks You should not be making more than one block an output block i.e. output="toHtml". If you are using a standard Magento layout configuration then the root block is already an output block (ref page.xml).
Aug 7, 2013 at 12:52 comment added Marius then it should work. You should see the contents of the file ps/prefcentre/signup.phtml inside the <head> tag of your page....unless you were hoping to see it in the page. Then you need to modify the reference name to header
Aug 7, 2013 at 12:48 comment added tony09uk I've been using head
Aug 7, 2013 at 11:30 comment added Marius what value do you have for someReferenceHandle? This should be one of the existing block aliases: root, head, footer, content, left, right and so on. If you are referencing a block that does not exist, it's normal not to work.
Aug 7, 2013 at 11:17 history asked tony09uk CC BY-SA 3.0