Forums / Addon Templates / Get rid of currencies in header

Get rid of currencies in header

Started by davalf on 5 Jul 2011, 1:25 PM · Views: 1,552

Results 1 to 9 of 9
5 Jul 2011, 1:25 PM
#1
davalf avatar

davalf

New Zenner

Join Date:
Jul 2011
Posts:
44
Plugin Contributions:
0

Get rid of currencies in header

Sorry to ask so many questions, but everyone has been a big help so far. Now how do you get rid of the currecy selection in the header. I have it turned off in the sidebox controller.

Also, how do you change which links are in the information sidebox?

Thank you again!

5 Jul 2011, 1:27 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Get rid of currencies in header

As currency is not part of a default install, this must be from your template

Need to see it to advise

Zen-Venom Get Bitten

5 Jul 2011, 1:32 PM
#3
davalf avatar

davalf

New Zenner

Join Date:
Jul 2011
Posts:
44
Plugin Contributions:
0

Re: Get rid of currencies in header

5 Jul 2011, 1:40 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Get rid of currencies in header

Look in your template's /common folder for tpl_header.php

Zen-Venom Get Bitten

5 Jul 2011, 1:55 PM
#5
davalf avatar

davalf

New Zenner

Join Date:
Jul 2011
Posts:
44
Plugin Contributions:
0

Re: Get rid of currencies in header

<!--bof-header logo and navigation display--> <?php if (!isset($flag_disable_header) || !$flag_disable_header) { ?> <div id="headerWrapper"> <!--bof-header ezpage links--> <div class="topper-menu float-right"> <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?> <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?> <?php } ?> </div> <!--eof-header ezpage links--> <!--bof-navigation display--> <!--eof-navigation display--> <!--bof-branding display--> <div id="logoWrapper"> <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div> </div> <div class="clearBoth"></div> <!--eof-branding display--> <!--eof-header logo and navigation display--> <!--bof-optional categories tabs navigation display--> <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?> <!--eof-optional categories tabs navigation display--> <?php require($template->get_template_dir('tpl_top_nav.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_top_nav.php'); ?> </div> <?php } ?>

Am I just missing it?

5 Jul 2011, 4:30 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Get rid of currencies in header

Where - path - did you get the snippet you posted?

This is from you view source

<!-- tools section -->
<div id="tools_wrapper" class="align-center">
	<table cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td class="td-search-header">

		<div class="search-header float-left">
            <form name="quick_find_header" action="http://www.helibenchstock.com/index.php?main_page=advanced_search_result" method="get"><input type="hidden" name="main_page" value="advanced_search_result" /><input type="hidden" name="search_in_description" value="1" /><div class="search-header-input"><input type="text" name="keyword" size="6" maxlength="30" style="width: 138px" value="Search for..." onfocus="if (this.value == 'Search for...') this.value = '';" onblur="if (this.value == '') this.value = 'Search for...';" /></div><input class="button-search-header" type="image" src="includes/templates/pure_red_free/images/search_header_button.gif" value="Serch" /></form>    		<div class="advanced_search float-left">
                <a href="index.php?main_page=advanced_search">Advanced Search</a>
            </div>
		</div>
		</td>
		<td>
		<!-- header cart section -->

		<table class="align-center cart-header">
		<tr>
			<td>
			<div id="cartBoxEmpty"><a href="http://www.helibenchstock.com/index.php?main_page=shopping_cart"><img class="cart-icon empty float-left" src="includes/templates/pure_red_free/images/spacer.gif"  alt="" /></a>Your cart is empty</div>		
			</td>
					</tr>
		</table>
		<!-- /header cart section -->

		</td>
		<td class="td-languages">
			<div class="languages-wrapper">
				
					<form name="currencies_form" action="http://www.helibenchstock.com/index.php?main_page=index" method="get"><select name="currency" onchange="this.form.submit();">
  <option value="USD" selected="selected">US Dollar</option>
  <option value="EUR">Euro</option>
  <option value="GBP">GB Pound</option>

  <option value="CAD">Canadian Dollar</option>
  <option value="AUD">Australian Dollar</option>
</select>
<input type="hidden" name="main_page" value="index" /></form>					<label class="float-right">  Currency:</label>
               
                  

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

Zen-Venom Get Bitten

5 Jul 2011, 7:36 PM
#7
davalf avatar

davalf

New Zenner

Join Date:
Jul 2011
Posts:
44
Plugin Contributions:
0

Re: Get rid of currencies in header

I made the mistake of looking at tpl_header from my download file of my template, not the one that is installed. Do I just erase:

<form name="currencies_form" action="http://www.helibenchstock.com/index.php?main_page=index" method="get"><select name="currency" onchange="this.form.submit();">

Thank you for the help?

6 Jul 2011, 1:29 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Get rid of currencies in header

Do I just erase:
Post the file using the <> code tags

Zen-Venom Get Bitten

6 Jul 2011, 3:34 AM
#9
davalf avatar

davalf

New Zenner

Join Date:
Jul 2011
Posts:
44
Plugin Contributions:
0

Re: Get rid of currencies in header

Well, it is not in tpl_header, I will keep looking to find it.