osCmax v2.5 User Manual
Results 1 to 4 of 4

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

      
  1. #1
    Lurker
    Join Date
    Apr 2004
    Posts
    1
    Rep Power
    0


    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

  2. #2
    New Member
    Join Date
    May 2004
    Posts
    7
    Rep Power
    0


    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.

  3. #3
    New Member
    Join Date
    May 2004
    Posts
    7
    Rep Power
    0


    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!

  4. #4
    New Member
    Join Date
    May 2004
    Posts
    7
    Rep Power
    0


    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

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •