新闻摘要:Magento 布局文件里添加样式 reference name=top.links action method=addLink translate=label title module=customerlabelLog In/labelurl helper=customer/getLoginUrl/titleLog In/titleprepare/urlParams/position1/position aParamsclasscustomer-logged
Magento 布局文件里添加样式
<reference name="top.links">
<action
method="addLink" translate="label title"
module="customer"><label>Log In</label><url
helper="customer/getLoginUrl"/><title>Log
In</title><prepare/><urlParams/><position>1</position><aParams><class>customer-logged-out first</class></aParams> </action>
<action
method="addLink" translate="label title"
module="customer"><label>Register</label><url
helper="customer/getRegisterUrl"/><title>Register</title><prepare/><urlParams/><position>2</position><aParams><class>customer-logged-out</class></aParams> </action>
</reference>