Вопрос

I have the problem to structure a site not just to a language but also do separate the content for different countries. Especially the meta tag for "lang" should be set different for every country. No my idea is to introduce a new GET Parameter "country" and define it as preVar in the real url config.

Now my question. Is there a way to force this GET Parameter in every link which gets rendered with the TypoLink function?

Thanks in advance.

Matthias

Это было полезно?

Решение

I think you are searching for the config.linkVars option. To set a default for the parameter, you can use config.defaultGetVars, or let RealURL do it.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top