Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2009
    Posts
    59
    Plugin Contributions
    0

    Default Need to remove British flag icon

    Hello. I have searched and searched, but haven't found any straightforward info about how to remove the British flag icon from its many locations on the ZC installation.

    My site is for a US client who also has offices elsewhere in the world (represented by other websites...), so there must be no confusion about the nationality of the site I'm doing; most of the products are made in other countries (lots of them), so no flag icons would be appropriate at any rate.

    Is there an easy way to remove the flag icon?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Need to remove British flag icon

    Is the site multilingual? Are you using a standard Zen Cart template or one that you have brought from a third party?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Mar 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Need to remove British flag icon

    The site is only US - English, as there are other company sites in other languages that are administered elsewhere.

    I am using the standard template, (the greenish one) modifying the CSS and layout.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Need to remove British flag icon

    In that case, you need only turn off the languages sidebox in Admin > Tools > Layout Boxes Controller. No point wasting screen space offering a choice when there's only one option available.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Mar 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Need to remove British flag icon

    Thank you! I am very new to ZC, and am still having a pretty hard time figuring out where the various admin controls are located.

  6. #6
    Join Date
    Jan 2009
    Location
    China
    Posts
    28
    Plugin Contributions
    0

    Default Re: Need to remove British flag icon

    I have another question. I turned off the languages sidebox, and removed the flag successfully(open by firefox browser).
    But, when I open my website by IE browser,it appears error flag image.How can I remove the image entirely?
    I believe there'll be many customers using IE browser.
    Thank you.

    my site is : http://www.maiall.com

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Need to remove British flag icon

    That's not a standard place for it, but you should find it in your template's common/tpl_header.php template file buried inside the taglineWrapper DIV. You would need to delete the A tag that contains the image.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #8
    Join Date
    Jan 2009
    Location
    China
    Posts
    28
    Plugin Contributions
    0

    Default Re: Need to remove British flag icon

    Get it. thank you.

  9. #9
    Join Date
    Aug 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Need to remove British flag icon

    Quote Originally Posted by kuroi View Post
    In that case, you need only turn off the languages sidebox in Admin > Tools > Layout Boxes Controller. No point wasting screen space offering a choice when there's only one option available.
    my sidebox is turned off but the link and image are still there...it just doesn't say "languages" anymore. I also looked through my tpl_header.php file and there is no instance of "tagline" or "taglineWrapper"


    What to do now?


  10. #10
    Join Date
    Aug 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Need to remove British flag icon

    I figured it out. Also figured out how to delete the currency picker.

    I had to delete this from tpl_header.php

    <?php #LANGUAGE START ?>

    <?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>';
    }
    ?>

    <?php #LANGUAGE END ?>

    </div>
    <div class="nav_2">

    <?php #CURRENCIES START ?>

    <?=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>

    <?php #CURRENCIES END ?>

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. british flag to us flag
    By paintman in forum General Questions
    Replies: 1
    Last Post: 28 Oct 2015, 04:28 PM
  2. American flag icon
    By ckosloff in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 5 Mar 2011, 10:03 PM
  3. flag icon
    By dmagic in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Jun 2010, 08:29 PM
  4. how to add "new" icon on product and how to take the british flag...
    By smallpigpig in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 20 Sep 2007, 02:07 AM

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