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>(责任编辑:好模板) |