Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

In Catagoreis Dropdown:   


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?





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:




To see the CVS on html_output.php go to



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:



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.

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