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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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... |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| 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);?> 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 |
|
#3
| |||
| |||
| 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... |
|
#4
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| 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 |