OS Property support center

How to list categories without number of entries

  • Heidy Alpizar
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 3 months ago #45974 by Heidy Alpizar
Hello Dam,
I would like to know how can I list categories without the total number of entries for each category. I attached an image to make myself more clear. Thank you.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #45982 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic How to list categories without number of entries
Hi,
To remove the number properties beside the category name, please follow these steps
1. Open file
components > com_osproperty > helpers > layout > listcategories.php
2. find
<?php echo $category_name?> (<?php echo $row->nlisting?>)
and remove
(<?php echo $row->nlisting?>)
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #46576 by Heidy Alpizar
Replied by Heidy Alpizar on topic How to list categories without number of entries
Thank you very much Dam. Could you please also tell me how to remove the number of properties from the Category Menu module as shown in the attached image? Thanks a lot!


Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #46584 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic How to list categories without number of entries
Hi Heidy,
To remove the number of properties in the category module, please follow these steps
1. Open file
modules > mod_oscategorymenu > tmpl > default.php
2. find
(<?php echo $total?>)
and remove it
Good luck
Dam

Please Log in or Create an account to join the conversation.

Moderators: Dang Thuc DamNguyen Phu Quan