1
StormFactory
Subcategories are Not showing up. Please Help

I am using the xDirectory Module and have the following problem:

My subcategories are not showing up when I click on a main category unless I have a business listing in the main catergory.

If I have this

Agents (0)
--Modeling (2)
--Talent (3)

When I click on Agents it should show the Modeling subcategory with the number 2 and the Talent Subcatergory with the number 3. But the page shows nothing. It only works when I have it like this

Agents (1)
--Modeling (2)
--Talent (3)

It will show both subcategories and then the Agents listing.

I want it to show the subcategories without having to have a listing in the main category. What do I need to change to do this? Thanks for the help.

2
StormFactory
Re: Subcategories are Not showing up. Please Help

PROBLEM SOLVED
I had made changes to /templates/xdir_viewcat.html and mistakenly moved one of the IF statements. That's what was causing the sub menus not to show.

I moved the IF statement around and now all is well.

When making changes to /templates/xdir_viewcat.html don't fogrget that you need to update the xDirectory module in the Modules Admin in order for the changes to take effect.

Login

Who's Online

191 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits