Osclass forums

Development => Development => Topic started by: w_t on November 13, 2018, 05:59:42 pm

Title: Change in the reading of the Categories, I would like only those with articles.
Post by: w_t on November 13, 2018, 05:59:42 pm
Hello everyone,
I bought an OsClass theme to create a generic ad site,
in the side search column I have: text box, city, category and price,
the problem is that the category also displays the sub-categories, forming an endless and uncomfortable list, I would like to modify it by displaying only the categories that have ads in them.

I can not go back to the classes and methods until I find the SQL string to edit, or I could write another method of mine that does what I want.

Can you guide me to find the interested Class?

Ps. I added an attachment to see the graphical interface

Thank you very much.
Title: Re: Change in the reading of the Categories, I would like only those with articles.
Post by: marius-ciclistu on November 13, 2018, 06:35:13 pm
https://forums.osclass.org/general-help/number-of-ads-in-drop-down-menu/msg165644/#msg165644
Maybe this can guide you.
Title: Re: Change in the reading of the Categories, I would like only those with articles.
Post by: w_t on November 13, 2018, 07:40:56 pm
Thank you, tomorrow I see if I solve.