In my extension I want to add custom link to the customer account page menu. there is my xml layout update file

    <reference name="customer_account_navigation">
        <action method="addLink" translate="label" module="remarks"><name>remarks</name><path>remarks/remarks</path><label>Remarks</label></action>

<remarks_remarks_index translate="label">
    <update handle="customer_account"/>
    <!--some content-->

So the problem is that value for link label is configured in system store config. How can I get it and pass to the <label> tag?

1 Answer 1


Check the file app/design/frontend/rwd/default/layout/catalog.xml in the line 63. There you can see

<action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map">
    <label>Site Map</label>
    <url helper="catalog/map/getCategoryUrl" />
    <title>Site Map</title>

Check the <url helper="catalog/map/getCategoryUrl" /> in particular, you might find that useful. It is possible you can call a helper to retrieve the config you need and return it from there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.