• 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

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 17 May 2018, 22:28

How do I manage the double language?

Marek 18 May 2018, 09:54

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