Jump to content

Recommended Posts

I currently use this add-on to keep the categories box expanded. (osC version 2.3.3.4)

 

http://addons.oscommerce.com/info/8384

 

This is my setup and so far everything works fine "except" for the Top Level link.

 

Top Level

------------------

- Sub Level 1

------------------

- Sub Level 2

------------------

- Sub Level 3

------------------

- Sub Level 4

------------------

- Sub Level 5

------------------

- Sub Level 6

------------------

 

At beginning when i load the shop page for the first time i can click on any link, starting at Top Level or Sub Level

and the page loads that category page.

Now, let's say, I click directly Sub Level 4 but then click on "Top Level" the link is dead. It doesn't bring me back to the Top Level page.

But if i load/enter the Shop page for the first time or if i visit the contact us page (or any other "non" category page) and then click on "Top Level" it works.

I can also go from one Sub Level to the other without trouble, only the Top Level doesn't seem to work properly.

 

I attached my current bm_categories.php file

 

I would appreciate if someone could take a look and help out. Thanks!

Edited by Tsimi

Share this post


Link to post
Share on other sites

hi @@wHiTeHaT

 

the "original" version of the add-on didn't work either.

but it's nice to see that you are so familiar with the category tree and could spot the removed part. :thumbsup:

 

do you have any suggestion?

Edited by Tsimi

Share this post


Link to post
Share on other sites

@@wHiTeHaT

 

Veel dank Henry!

 

Your piece of code worked. (w00t)

You should upload this in the add-ons area as bug fix.

 

Thanks again. :thumbsup:

Edited by Tsimi

Share this post


Link to post
Share on other sites

How about a link or screenshot?

 

 


------------------------------------------------------------------------

The first panacea for a mismanaged nation is inflation

of the currency; the second is war. Both bring a
temporary prosperity; both bring permanent ruin.
Ernest Hemingway
------------------------------------------------------------------------

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×