We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Closed
  • Closed by: Marek (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.

					<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}
add-link.jpg (83.2 KiB)

This ticket does not depend on any other tickets.

Marek (marek) 17 May 2018, 22:24

Hi, Giulia Ghinami.
The correct link is:

<li class="smooth02"><a href="YOUR_LINK">{l s='YOUR TEXT info' mod='pk_customlinks'}</a></li>
Giulia Ghinami (giuliaghinami) 17 May 2018, 22:28

How do I manage the double language?

Marek (marek) 18 May 2018, 09:54

Go to translation page in your back office and translate the module pk_customlinks