我有在以下目录模块Askit
如何覆盖另一个文件模块的布局XML文件中的Magento
/var/www/html/app/design/frontend/base/default/template/tm/askit/
form.phtml页面包含在目录下面
/var/www/html/app/design/frontend/base/default/template/tm/askit/question/form.phtml
我想更新其布局xml来设置其phtml页面的元数据。
正如我所说this question
我想从我的主题local.xml文件,
这里设置上述页面元就是布局xml目录网址 -
/var/www/html/app/design/frontend/argento/mall/layout
我已经在我的主题布局local.xml文件中编写了下面的代码,但是它并没有为此页面更新meta -
<askit_question_index>
<reference name="head">
<action method="setTitle"><value>Ask an Expert and Get Answers - </value></action>
<action method="setDescription"><value>Ask a question and get an answer to your question from a Expert related to your purchased product </value></action>
</reference>
</askit_question_index>
确保您local.xml中成功解析之后。检查var/log。 –
local.xml正常工作。我已经更新Meta的其他页面使用相同的XML。只有有该页面的问题。 – John