osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

HELP! How do I change the Category html links??

This is a discussion on HELP! How do I change the Category html links?? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; HELLLLPPP!! I want to change where the categories on the left column point to. I want them to point to ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-27-2004, 01:27 PM
Lurker
 
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
acreativepage
Default HELP! How do I change the Category html links??

HELLLLPPP!! I want to change where the categories on the left column point to. I want them to point to my current website. How and where do i do this???

Thanks in advance!
~Stacee
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 05-09-2004, 03:05 AM
New Member
 
Join Date: May 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
trout
Default same

I too would like to be able to replace the link on the breadcrumbs to point to pages within my site... is this possible?

I have changed top to Home and have removed catalog - I would now like to have my single and only category point to a page on my website and not the oscommerce category page.

Thanks for any reply.
trout.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-09-2004, 03:16 AM
New Member
 
Join Date: May 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
trout
Default

Righjt - i've figured out how to solve yoru problem - the categories link on the left hand side.

goto categories.php in includes/boxes and edit:

$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">';

to read:

$site = '/where you want to go';
$categories_string .= $site . '">';

Now this works fine in my case where I just have one category - not sure what things will do if you have more than one -- but hey! you can suss that bit out

trout

Still needing help on the breadcrumbs though!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 05-09-2004, 03:44 AM
New Member
 
Join Date: May 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
trout
Default Total hash hack?!

In application top I have done:

$site = '/where i want to go';

and then at line:

$breadcrumb->add($categories['categories_name'], tep_href_link(FILENAME_DEFAULT, 'cPath=' . implode('_', array_slice($cPath_array, 0, ($i+1)))));

I have now:

$breadcrumb->add($categories['categories_name'], ($site . implode('_', array_slice($cPath_array, 0, ($i)))));

Which allows me to go to my site from the category breadcrumb - though I fear things are gonna get messy if I try to add more categories!!! anyways.. it's working for now and thats all that matters...

trout
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
SEO Friendly HTML links in URL librianguy osCMax v2 Customization/Mods 10 01-31-2006 12:25 PM
Using Html in the Category Description humanode osCMax v2 Customization/Mods 2 10-29-2005 11:56 AM
Moving category links to main area 5tevooo osCommerce 2.2 Modification Help 7 08-01-2005 06:50 AM
What HTML editor should I be using to change things? Elaina osCommerce 2.2 Modification Help 2 08-07-2004 12:09 AM
category Icons with links on the main page CMWM osCMax v1.7 General Mods Discussion 1 04-06-2004 08:02 AM


All times are GMT -8. The time now is 09:37 AM.


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