Hi there
I bet you can answer this very easily:
I have a bi-lingual Couch site, each page has 'toggle' link so a visitor can switch languages instantly.
This is fine everywhere except on a blog post. To switch to the equivalent blog post in the other language, I need to dynamically link the page.
Is there a variable I can append to the page name (or perhaps build a page variable)?
So that if someone is looking at "blog-cy.php?p=38" I can dynamically link them to the English version, in this example "blog.php?p=38"
Perhaps I just need a way of specify the "p=38" as a variable?
Many thanks
Chris
I bet you can answer this very easily:
I have a bi-lingual Couch site, each page has 'toggle' link so a visitor can switch languages instantly.
This is fine everywhere except on a blog post. To switch to the equivalent blog post in the other language, I need to dynamically link the page.
Is there a variable I can append to the page name (or perhaps build a page variable)?
So that if someone is looking at "blog-cy.php?p=38" I can dynamically link them to the English version, in this example "blog.php?p=38"
Perhaps I just need a way of specify the "p=38" as a variable?
Many thanks
Chris