Forums / General Questions / Moving The Language Flags To The Header

Moving The Language Flags To The Header

Locked
Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Aug 2006, 05:32
#1
g_nencini avatar

g_nencini

Zen Follower

Join Date:
Mar 2006
Posts:
153
Plugin Contributions:
0

Moving The Language Flags To The Header

I'd like to move (or to copy) the content of the box-language to the header.
"antoschka" posted the same problem on 13th March 2005.... with no reply.

I've made many attempts, but the logical sequence of building the content of the box-language is very difficult to understand (for me).

May I have a little help?
Thanks - Giovanni
29 Aug 2006, 07:02
#3
g_nencini avatar

g_nencini

Zen Follower

Join Date:
Mar 2006
Posts:
153
Plugin Contributions:
0

Re: Moving The Language Flags To The Header

Perfect!!!!
Many thanks to seethrou.
Giovanni
08 Sep 2006, 20:58
#4
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Posts:
260
Plugin Contributions:
2

Re: Moving The Language Flags To The Header

thanks for this mod!

btw, i need a little help.

i remember there being a feature where you could chose to display language flags or text. i cant for the life of me find where to change it.

*pulls hair
24 Sep 2006, 12:46
#5
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Posts:
1,156
Plugin Contributions:
0

Re: Moving The Language Flags To The Header

Modify the following file for display the Language Names with Links instead of the flag images.

includes/templates/YOUR_TEMPLATE/common/tpl_header_languages.php
[php]$content .= '<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . zen_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a>';[/php]
Change to
[php]$content .= '<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . $value['name'] . '</a>';[/php]