Use different 2 templates on a wrapurl?
Posted: Tue Aug 15, 2006 9:04 am
I have 2 different categories on my webpage, each with it´s own template (2 different languages). I have a menu specificly made for each language/template. On both menus one link open up a gallery with the wrapurl-plugin. This wrapurl uses the standad template to show it and because of that the menu changes language if one is on the other template.
So my question is, is it possible to use 2 different templates on the same wrapurl depending from what page/template one is comming?
Is it possible to and something like "?lang=esp" or "?lang="eng" to the link to the gallery and then in index.tpl check for this. And if it´s ie. is "esp" the wrapurl is opened with the esp-template instead of the standard template.
Or is there another better solution or is it impossible to do this?
So my question is, is it possible to use 2 different templates on the same wrapurl depending from what page/template one is comming?
Is it possible to and something like "?lang=esp" or "?lang="eng" to the link to the gallery and then in index.tpl check for this. And if it´s ie. is "esp" the wrapurl is opened with the esp-template instead of the standard template.
Or is there another better solution or is it impossible to do this?