Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

In Catagoreis Dropdown:   


rbartz

Recommended Posts

The Catagories Dropdown (version 2) contributed by David Watkins is great, just what I needed... :)

 

However, the output drops down with "  " ahead of all the subcatagory names instead of two spaces. :(

 

I know that " " is a space, but I cannot find where it is inserted in the display string...

 

I'd like to use this piece of code, but need it to display spaces instead of the code... has anyone figured it out yet?

 

Thanks

 

Richard

Link to comment
Share on other sites

Harald has fixed this in the CVS.

 

Changes to includes/functions/html_output.php

 

One other thing of note is that if USE_CACHE == 'true') && !SID then you still get the original tiered text listings. This can taken care of by removing the cache check OR modifying the tep_cache_categories_box()

 

Go for the commenting out of the cache check ;)

Link to comment
Share on other sites

Thanks, hobbzilla, changing my html_output.php to bring it up to version 1.45 did the trick. Good job, Harald! Your work is amazing.

 

For others who want to use spaces in those dropdowns, the CVS URL for seeing the differences between version 1.44 and 1.45 is:

 

http://cvs.sourceforge.net/cgi-bin/viewcvs...r1=1.44&r2=1.45

 

To see the CVS on html_output.php go to

http://cvs.sourceforge.net/cgi-bin/viewcvs...html_output.php

 

You could download it, or just enter the differences in case you have modified your version of html_output.php.

 

For futuredvdcouk who asked where to get the catagories dropdown box contribution:

 

http://www.oscommerce.com/downloads.php/co...ions,553/type,5

Link to comment
Share on other sites

Fatal error: Call to undefined function: tep_get_categories() in /usr/home/futuredvd/public_html/includes/boxes/categories.php on line 24

 

I get this error when using this addon.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...