Display category and location (in yellowpages) only if they have posts

Discussion in 'Yellow Pages Script / Local Directory Script' started by econsultoria, Feb 26, 2015.

  1. econsultoria

    econsultoria New Member


    - The location page (www.mydomain.com/yellowpages/location/) display all locations in database. Empty locations too.
    - The category page (www.mydomain.com/yellowpages/) display all categories in dabasase. Empty categories too.

    Is it possible don't display empty locations in location page and empty categories in category page? I want to show only locations and categories with bussiness.

    Thank you very much in advance
  2. Andrew_G.

    Andrew_G. Staff Member

    Hello @econsultoria ,

    We have already had the option to hide empty categories. You can find it in the Subrion Admin Panel -> Yellow Pages -> Settings (cog icon at the top) -> Hide empty categories. Please turn it ON in order to hide empty categories.
    Please look at attached screenshot to better understand this process: https://www.diigo.com/item/image/4dgm3/q3gi

    Regarding empty locations, I've created the ticket in our Developers System and this feature will be implemented in one of the next versions of the Yellow Pages package. You can track this ticket here: http://dev.subrion.org/issues/2061

    Thanks for your interest in our software products!

Share This Page