Forums / Setup & design / check active language

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

check active language

Author Message

Robert Malevic

Monday 05 January 2009 5:56:25 am

Hi All,

I want to add two hyperlinks to an external site in a template:

How do I check the which language is selected by a visitor in Exponential?

Depending on the selected language I want to link to an external site:
http://www.exteralsite.com/langugage1/ or
http://www.exteralsite.com/langugage2/

Thanks for your help!

Ivo Lukac

Monday 05 January 2009 7:59:15 am

Hello Robert,

Look at access_type variable:

http://ez.no/doc/ez_publish/technical_manual/4_0/templates/the_pagelayout/variables_in_pagelayout

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac