Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2006
    Location
    Florence, Italy
    Posts
    153
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Moving The Language Flags To The Header

    A New Starter again

  3. #3
    Join Date
    Mar 2006
    Location
    Florence, Italy
    Posts
    153
    Plugin Contributions
    0

    Default Re: Moving The Language Flags To The Header

    Perfect!!!!
    Many thanks to seethrou.
    Giovanni

  4. #4
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default 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

  5. #5
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default 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 Code:
    $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>'
    Change to
    PHP Code:
    $content .= '<a href="' zen_href_link($_GET['main_page'], zen_get_all_get_params(array('language''currency')) . 'language=' $key$request_type) . '">' $value['name'] . '</a>'
    Last edited by seethrou; 24 Sep 2006 at 01:50 PM. Reason: Removed unrelate codes.
    A New Starter again

 

 

Similar Threads

  1. v154 Multi Site & CEON - need to change the links generated by the language flags
    By Xarum in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 May 2016, 11:00 PM
  2. Link directly to other sites instead of the translation from language flags
    By scaleachiocciola in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Apr 2012, 11:50 PM
  3. Adding extra images to the header (like flags & logos)
    By theAymen in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Aug 2010, 09:26 PM
  4. Moving the top header bar under the the logo
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Mar 2008, 05:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg