- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 17.05.18, 20:21
- Opened by: Giulia Ghinami
- Closed by: Marek
- Closed on: 13.07.18, 20:28
- Reason: Closed
- Comment: Glad to help!
Ticket #12251 - Add link "Account My" in header custom link
hi, how do I add a link to “My account” in this list? (Screen)
The .tpl to be modified is “pk_customlinks” of the “Custom links” module but I do not know the correct syntax to link to the “my account” page.
<ul> <li class="smooth02"><a href="{$link->getPageLink('history', true)}" title="{l s='My orders' mod='pk_customlinks'}" rel="nofollow">{l s='My orders' mod='pk_customlinks'}</a></li> {if $pk_returnAllowed}<li><a href="{$link->getPageLink('order-follow', true)}" title="{l s='My returns' mod='pk_customlinks'}" rel="nofollow">{l s='My merchandise returns' mod='pk_customlinks'}</a></li>{/if} <li class="smooth02"><a href="{$link->getPageLink('order-slip', true)}" title="{l s='My credit slips' mod='pk_customlinks'}" rel="nofollow">{l s='My credit slips' mod='pk_customlinks'}</a></li> <li class="smooth02"><a href="{$link->getPageLink('addresses', true)}" title="{l s='My addresses' mod='pk_customlinks'}" rel="nofollow">{l s='My addresses' mod='pk_customlinks'}</a></li> <li class="smooth02"><a href="{$link->getPageLink('identity', true)}" title="{l s='Manage my personal information' mod='pk_customlinks'}" rel="nofollow">{l s='My personal info' mod='pk_customlinks'}</a></li> {if $pk_voucherAllowed}<li><a href="{$link->getPageLink('discount', true)}" title="{l s='My vouchers' mod='pk_customlinks'}" rel="nofollow">{l s='My vouchers' mod='pk_customlinks'}</a></li>{/if} </ul>
Comments
Hi, Giulia Ghinami.
The correct link is:
How do I manage the double language?
Go to translation page in your back office and translate the module pk_customlinks