Not parsing layout xml in Magento -
i following book "php architects guide programming magento" try incorporate rewards feature in magento.
my problem rewardpoints.xml file not being parsed. triggers magento parse xml files(updates) layout folder? why not parsing rewardpoints.xml file? know not parsing because left error in xml file , not showing up
here rewardpoints.xml error(closing tag
rewardpoints/dashboard_points.phtml
any explanation help. thank margots
a few quick guesses. if doesn't work, let me know , can try other things.
first, make sure tell magento layout exists. in module config, make sure following xml exists. may need change <frontend>
<adminhtml>
if developing backend. make sure layout file in corresponding layout directory (adminhtml or frontend).
<config> <frontend> <layout> <updates> <rewardpoints> <file>rewardpoints.xml</file> </rewardpoints> </updates> </layout> </frontend> </config>
next, make sure problem isn't cached file. head admin panel , click system > cache management
. either refresh or disable cache "layouts". when developing module, helps disable cache entirely can see changes.
finally, less likely, make sure magento can read file. don't specify environment, can't give specific commands, make sure webserver has permission read layout file.
hope helps.
thanks, joe
Comments
Post a Comment