Question

I'm am using the addLink method of Mage_Page_Block_Template_Links in my local.xml, which uses links.phtml as a template.

Is there some way of passing links.phtml the store email/phone addresses which I would normally get from from Mage::getStoreConfig('general/store_information/phone')?

I.e. something like:

<reference name="top.links">
        <action method="addLink">
                <url>tel:<?php echo Mage::getStoreConfig('general/store_information/phone') ?></url>
    </action>
</reference>

Thank you!

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top