Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

Posted

I can't seem to find Catagories Dropdown (version 2) contributed by David Watkins - can anyone tell me where it is please?

Posted

Just have the same problem, but not all items. Quite strange as I don't know from where it comes.

 

rainbow022

www.moddingstore.com

Besser heute als morgen......

Posted

Also FWIW,

 

This will fix the same bug in the advanced search categories dropdown.

 

I think the developers are working on a more elequent solution to this problem.. but I dunno.

Posted

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 ;)

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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