×

Notice

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

TOPIC: Can I filter Latest Comments by Category?

Can I filter Latest Comments by Category? 7 years 9 months ago #35431

  • BillyBob
  • BillyBob's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Just purchased Pro version and have everything setup and I'm happy for the most part. I did have to do a little manual adjusting in that I replaced the 'bakcground_username.png' file in the media/mod_comments/images folder with a blank .png file. I just couldn't get that grayish bar to left align with name of commenter for the 'Latest comments' module.

What I'd like to do is filter the latest comment module by category so I can display comments for different categories in different modules. Like you could do with JComments. Maybe I'm missing something but I didn't see a way to do this. Is it possible to filter the latest comments module by category?

Can I filter Latest Comments by Category? 7 years 9 months ago #35432

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Billy,
I think that at one point in the past we had this, not 100% sure thought. I removed it, because I couldn't make it work all the time. You see each component comes with a different category id column. For some it is category_id, for others it is cat_ids etc. And not only that, but if I were to filter on the cat id I have to complicate the query and do a join over the target table and filter on the catid there as the only thing that we care about in the #__comment table is the contentid.
Now that I'm explaining all this I remember, that we had a filter on catid and it was only working for com_content. That's why I removed it.

Are we talking about com_content or another component?

Regards,
Daniel

Can I filter Latest Comments by Category? 7 years 9 months ago #35438

  • BillyBob
  • BillyBob's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Yes we're talking about com_content I believe. That is the only option I have in the setting area to click on so I assume it is. The way I have my site setup I have 3 or 4 separate pages displaying a blog category layout with each article linked via a menu. Not sure if matters at this point then but it's like this;
www.podgash.com
  • Page:
  • 1
Time to create page: 0.091 seconds