How to display ad count beside category name?

ClassiBase classifieds script Forums Tips and tricks How to display ad count beside category name?

This topic contains 3 replies, has 3 voices, and was last updated by  ClassiBase 1 month, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3305 Reply

    Nordin Kadir
    Participant

    Hi,
    I setup one level category and put them (by widget) at left column in frontpage. Now I would like to put ad count for each category beside the category name. How to do that?
    I found a setting in Ads -> Disable ad counting and have already untick that option but looks like nothing happen. What is the purpose of this setting?
    TQ.

    #3320 Reply

    ClassiBase
    Keymaster

    categories widget

    If you Edit categories widget, by clicking edit link in the right of widget title in Admin panel on “Appearance” => “Widgets” page, there you will see “Display ad count” checkbox. Checking it will display ad count next to category names. If there is no ads in that category then it will not show 0. So make sure that you have some ads in any category.

    Detailed instructions about categories, locations and about displaying them on front page can be found here http://classibase.com/manage-categories-and-locations-in-classifieds-website/

    The other checkbox in settings is used to enable/disable ad counting generally.

    #3406 Reply

    Martin
    Participant

    Hi support team

    I did it as described – and the numers appears – but when I add a new ad the new numbers don’t appear directly – it take a lot of time. Could that be a reason of my server or do I have to change something somewhere?

    All other things running very well.

    #3424 Reply

    ClassiBase
    Keymaster

    Hello,

    Counting ads takes couple seconds in database, due to nature of counting query. For that reason we cache counts for 1 hour. As a result ad counts displayed next to category and locations names are not updated immediately.

    Regards.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to display ad count beside category name?
Your information: