Forums / General Questions / How do I make a Link ( Hotspot ) in the header?

How do I make a Link ( Hotspot ) in the header?

Locked

Started by milobloom on 6 Aug 2008, 5:14 PM · Views: 1,726

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 Aug 2008, 5:14 PM
#1
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

How do I make a Link ( Hotspot ) in the header?

I want to place an image in my header ( Clearance Specials ) Click Here

How can I do this?

19 Sep 2008, 3:30 AM
#2
grey avatar

grey

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: How do I make a Link ( Hotspot ) in the header?

I'd like to do this too... has anybody figured it out?

19 Sep 2008, 4:12 AM
#3
gillianfoley avatar

gillianfoley

New Zenner

Join Date:
Aug 2008
Posts:
13
Plugin Contributions:
0

Re: How do I make a Link ( Hotspot ) in the header?

Does it have to be in the header? Can't you add that to the salemaker/specials utility? And you can change where your "specials" link is displayed.

22 Sep 2008, 12:47 AM
#4
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: How do I make a Link ( Hotspot ) in the header?

I want to put a Click Here For Live Help link in the header

I allready have it on the sidebox

16 Oct 2008, 1:40 PM
#5
grey avatar

grey

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: How do I make a Link ( Hotspot ) in the header?

I got it working... this thread helped: http://www.zen-cart.com/forum/showthread.php?t=93238

the code for my tpl_header.php is:

<?php
/**
 * Common Template - tpl_header.php
 *
 * this file can be copied to /templates/your_template_dir/pagename<br />
 * example: to override the privacy page<br />
 * make a directory /templates/my_template/privacy<br />
 * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
 * to override the global settings and turn off the footer un-comment the following line:<br />
 * <br />
 * $flag_disable_header = true;<br />
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
 */
?>

<?php
  // Display all header alerts via messageStack:
  if ($messageStack->size('header') > 0) {
    echo $messageStack->output('header');
  }
  if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
  echo htmlspecialchars(urldecode($_GET['error_message']));
  }
  if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
   echo htmlspecialchars($_GET['info_message']);
} else {

}
?>


<!--bof-header logo and navigation display-->
<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>

<div id="headerWrapper">


<!--bof-branding display-->
    <div align="center"><img src="includes/templates/CUSTOM/images/logo.gif" width="750" height="236" border="0" usemap="#Map">
<map name="Map" id="Map"><area shape="rect" coords="559,19,723,58" href="http://www.abc.com" />
</map>
 </div>


<br class="clearBoth" />
<!--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-->

<!--bof-header ezpage links-->
<?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 } ?>
<!--eof-header ezpage links-->
</div>
<?php } ?>
17 Oct 2008, 11:29 AM
#6
justyl avatar

justyl

New Zenner

Join Date:
Oct 2008
Posts:
5
Plugin Contributions:
0

Re: How do I make a Link ( Hotspot ) in the header?

Hello,

I need help making my header clickable also, and the threads I found do not help. I need help with specifically what I want to do, because I can't pick out what I need to know from similar instructions. The CSS codes are confusing. Please help. Thanks.
:oops: