×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Including Comment Count Link in Category Listing

Including Comment Count Link in Category Listing 12 years 1 month ago #15368

  • Adrian Cooper
  • Adrian Cooper's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 30
  • Karma: 1
  • Thank you received: 0
I created a menu item for a category listing on mys site - it lists all articles in that category in list format - and it occurred to me that it would be an excellent enhancement if CompoJoom Comments inserted Number of Comments and maybe a link to the article against each article in the listing.

For example - right now the Headings for the list are:

Article Title, Published Date, Author.

It would be great to include another heading - "Comments" - displaying the number of comments and a link to the comments for that article.

Submitted for your consideration :)

Thanks.

Adrian.

Re: Including Comment Count Link in Category Listing 12 years 1 month ago #15383

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hi Adrian,
Interesting idea, but you will have to solve this with template override. In this template override you should make some MySQL queries to calculate the count.

However I don't think that this functionality is needed in the package. A small percentage of users are actually going to want this, so I think that a custom template override for those users will be the right thing.

Cheers,
Daniel
  • Page:
  • 1
Time to create page: 0.111 seconds