osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Change Header Link

This is a discussion on Change Header Link within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; This is a small (and I'm sure stupid) question that I can't seem to find the answer for in the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-19-2006, 03:56 PM
Member
 
Join Date: Feb 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
torweb
Default Change Header Link

This is a small (and I'm sure stupid) question that I can't seem to find the answer for in the forum. All I'm trying to do is change the link that's associated with the main page header image. This is also the same link that's attached to the "Top" menu item next to "Catalog" (right top side menu bar). I would like it to go to a different url from what was assigned in the initial setup of the application.

I just putting together a test store for the first time with this application...

Thanks in advance...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-19-2006, 04:07 PM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 468
Thanks: 4
Thanked 79 Times in 73 Posts
Rep Power: 8
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default RE: Change Header Link

1) remove the "top" from the breadcrumb. It confuses people.
2) the BTS uses main_page.tpl.php in the selected template directory for the header
3) look for this
Code:
<A HREF="<?php echo tep_href_link(FILENAME_DEFAULT);?>
4) either
a) create a new define in /includes/application_top.php or /includes/filenames.php and replace FILENAME_DEFAULT with the new define
b) just replace FILENAME_DEFAULT in the code with a hardcoded location.

As for "why #1?" generally the breadcrumb contains Top -> Catalog -> etc... and Top and Catalog both generally point to the same place. In those cases Top is redundant and confusing to the end user.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-19-2006, 04:53 PM
Member
 
Join Date: Feb 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
torweb
Default New Link in Header

I had a hunch I wasn't sounding too clear. I would like to replace the "Top" with Home Page or something like that. I would like a link back to my regular old HTML website. I entered the wrong URL when I set the things up.

Thanks again...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-20-2006, 03:29 AM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 468
Thanks: 4
Thanked 79 Times in 73 Posts
Rep Power: 8
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default RE: New Link in Header

a) create a new define in /includes/application_top.php or /includes/filenames.php and replace FILENAME_DEFAULT with the new define
b) just replace FILENAME_DEFAULT in the code with a hardcoded location.

and if you want to keep the "Top" in the breadcrumb, do the same "define" change there.
(i.e.: you create a define called ROOT_TOP and replace those two instances with the new ROOT_TOP).
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
how do i change the TOP link to link to a different page jcomputers osCMax v2 Customization/Mods 1 07-23-2006 01:45 PM
how do i change the home link to link to somewhere else? jcomputers osCMax v2 Customization/Mods 1 07-22-2006 10:01 PM
How can I ad a link to header.php ozstar osCMax v2 Customization/Mods 0 12-04-2005 03:50 PM
Header link and nav bar kellycog osCMax v1.7 Discussion 0 07-07-2004 10:45 PM
category link generates site keywords in header. bushman osCMax v1.7 Discussion 2 09-04-2003 08:44 AM


All times are GMT -8. The time now is 01:40 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax