如何更新customer.xml的local.xml中的标签登录/注销

问题描述:

我只想更新标签登录登录customer.xml文件的。怎么可能从local.xml中删除如何更新customer.xml的local.xml中的标签登录/注销

<customer_logged_out> 
    <!---<reference name="right"> 
     <block type="customer/form_login" name="customer_form_mini_login" before="-" template="customer/form/mini.login.phtml"/> 
    </reference>--> 
    <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>100</position></action> 
    </reference> 
    <remove name="wishlist_sidebar"></remove> 
    <remove name="reorder"></remove> 
</customer_logged_out> 
+0

为什么你想从.xml中做到这一点?为什么不从translate.csv? – OSdave 2011-05-28 10:36:09

转到

System->Configuration->Developer->Translate Inline->Enable for Frontend
集是,保存it.Open你frontend.You会看到像书本图标许多places.Click该图标附近登陆文本,弹出会appear.Change登录后签名并提交。刷新页面,您可以看到结果。不要忘记在进行更改后禁用内联翻译。

这是改变文字的另一种方式。

+0

*非常感谢!*我不知道使用** Translate inline **再次感谢! – 2011-05-28 12:04:39

不要使用顶部链接。打开应用/区域/ EN_US/Mage_Customer.csv,发现说

"Log In", "Log In" 

其更改为行:

"Log In", "Sign In" 

大功告成!希望有所帮助!

谢谢, 乔

+0

我不使用过去 – 2011-05-28 12:05:22

+0

对不起,我不确定你的意思。 – 2011-05-28 20:26:19

+0

我在回答之前不知道这个用法。对不起,请发表评论!再次感谢花时间。 – 2011-05-29 03:38:24