मैं <aParams>class="class-name"</aParams>
उदाहरण के लिए का उपयोग करके शीर्ष लिंक करने के लिए वर्ग जोड़ने की कोशिश की:शीर्ष लिंक में कक्षा कैसे जोड़ें?
<reference name="top.links">
<action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><aParams>class="top-link-myaccount"</aParams><position>10</position></action>
</reference>
चाल से ऊपर कम से कम 1.7.0.0 संस्करण के लिए मेरे लिए काम नहीं किया।
कोई विचार?
संपादित करें:
मुझे लगता है कि मैं <li/><a>class="top-links-register"</a>
का उपयोग कर इसे तय:
<reference name="top.links">
<action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><aParams/><position>10</position><li/><a>class="top-link-myaccount"</a></action>
</reference>
ध्यान दें कि आप पहले जोड़ें चाहिए <li/>