• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 05.01.17, 15:40
  • Opened by: andrea
  • Closed by: Marek
  • Closed on: 28.02.17, 12:57
  • Reason: Closed
  • Comment: Glad to help!

Ticket #10135 - pk_customlinks translate

why I can not add custom link at my contact page in two different language?

If I use the flag, can change the label but can’t change the URL….

I have try to insert 2 link (one for language) but didn’t works. Also I get the error: “You must fill in all fields”

Comments

Alex 05 Jan 2017, 21:04

What do you mean? What you are trying to change show me please with the screenshot

andrea 06 Jan 2017, 17:46

Sure, thanks a lot.
in the screenshot you find what I want to do

Thanks again and good holydays Alex

Alex 07 Jan 2017, 14:16

Hi. Yes I see the issue. We will try to fix it soon. For now I can recommend such fix:

For CMS pages you can use such link
/index.php?id_cms=1&controller=cms
=1 it’s ID of the CMS. With such link it will work for both languages. You can test it now. I have added the link in your site to the CMS 3

And here is links for other PS pages
/index.php?controller=prices-drop
/index.php?controller=new-products
/index.php?controller=best-sales
/index.php?controller=stores
/index.php?controller=contact
/index.php?controller=sitemap

good holydays Alex Thanx a lot. I wish you the same our dear customer :D

andrea 06 Feb 2017, 17:21

hello, I have to add another CMS page:

Cambi & Resi for italian
and
Returns & Exchanges

but I have some issues when try to add

andrea 07 Feb 2017, 11:13

pk customlinks

Marek 07 Feb 2017, 11:26

The links are following:
en/content/6-returns-exchanges
it/content/6-cambi-resi

andrea 07 Feb 2017, 11:41

Thanks, but I cant set two url … remember? :)
I can only translate TEXT field (by click in the flag, and often doesn’t works)

Cambi & Resi —> it/content/6-cambi-resi
Returns & Exchanges —> en/content/6-returns-exchanges

how shall I do? Thanks again

Marek 07 Feb 2017, 12:31

Yes, I see the issue now. I have tried to find fast solution, but unfortunately with no result. So I can offer you to add a link directly to the tpl file

andrea 07 Feb 2017, 14:58

Show me what I have to do to add directly in .tpl file, thanks anyway

Marek 07 Feb 2017, 15:54

I just added a code to the file pk_customlinks.tpl
You can find it in the very bottom of the file, and edit as you like

andrea 07 Feb 2017, 16:36

Ok it works, thanks you. But what file .tpl I have to edit for add in very top of site? (pk_customlink). I want to know for future, I don’t want add it now.

Marek 07 Feb 2017, 16:51

The file is /modules/pk_customlinks/pk_customlinks.tpl