Monday 08 May 2006 3:40:14 am
I have setup some url translations (regular and wildcard also) and it's working but I would like to know how can I use this virtual URLs in templates. Here's an example:
Real url: /ugly_url/* Virtual url: /nice_url/{1} so when I write in my browser: /nice_url/example the page: /ugly_url/example is shown, and the adres of: /nice_url/example is shown in the browser. And that's OK. But when I create a link to this page in template (by using $node.url_alias) I get the link to: /ugly_url/example What should I do to produce the link to the virtual url in templates?
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|