Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2013
    Location
    Charleston, WV
    Posts
    12
    Plugin Contributions
    0

    Default Removal of Language and Currency from your top menu bar.

    After plenty of searching I was finally able to remove the Language (and flag) and currency from my top menu bar. Delete or rem out the below from your tpl_header.php. Of course use the override system. While I'm a bit slow I figured if I had trouble finding a solution then someone else might also be having issues so...

    <div class="nav_language">

    <?php echo BOX_HEADING_LANGUAGES ?>&nbsp;

    <?php if (!isset($lng) || (isset($lng) && !is_object($lng))) {
    $lng = new language;
    }

    reset($lng->catalog_languages);

    while (list($key, $value) = each($lng->catalog_languages)) {
    echo '<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'], '', '', ' style="vertical-align:middle;"') . '</a>&nbsp;';
    }
    ?>



    </div> <!-- nav_language -->

    <div class="nav_currencies">



    <?=zen_draw_form('currencies', zen_href_link(basename(ereg_replace('.php','', $PHP_SELF)), '', $request_type, false), 'get')?>

    <?

    if (isset($currencies) && is_object($currencies)) {

    reset($currencies->currencies);
    $currencies_array = array();
    while (list($key, $value) = each($currencies->currencies)) {
    $currencies_array[] = array('id' => $key, 'text' => $value['title']);
    }

    $hidden_get_variables = '';
    reset($_GET);
    while (list($key, $value) = each($_GET)) {
    if ( ($key != 'currency') && ($key != zen_session_name()) && ($key != 'x') && ($key != 'y') ) {
    $hidden_get_variables .= zen_draw_hidden_field($key, $value);
    }
    }
    }

    ?><?=zen_draw_pull_down_menu('currency', $currencies_array, $_SESSION['currency'], ' onchange="this.form.submit();"') . $hidden_get_variables . zen_hide_session_id()?></form>

    </div> <!-- nav_currencies -->



    <div class="clearBoth"></div>

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Removal of Language and Currency from your top menu bar.

    Looks like a customized template (Template MOnster????).

    Simplest way:

    In your customized stylesheet find .nav_language and .nav_currencies and add {display: none;} to each of them.

  3. #3
    Join Date
    Nov 2013
    Location
    Charleston, WV
    Posts
    12
    Plugin Contributions
    0

    Default Re: Removal of Language and Currency from your top menu bar.

    Yup. Template from Zenflavor.

 

 

Similar Threads

  1. v139h Extend stretch Top header Menu/Navigation and search bar
    By jdmkuruma in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 8 Jun 2012, 09:42 AM
  2. currency and language at top of page
    By merlinof2 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Nov 2009, 06:51 PM
  3. Top Navigation Menu Bar Removal?
    By jaguarx in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Oct 2009, 07:25 AM
  4. Menu bar / Tabs Removal
    By leest003 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Nov 2008, 02:37 AM
  5. Language and Currency removal
    By Steveh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Mar 2007, 10:25 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR