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
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 ...
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
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.
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!
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
Bookmarks