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 eZ Publish?

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.