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

TOPIC: template of latest comments module is not customizable?

template of latest comments module is not customizable? 9 years 9 months ago #6640

  • Jaime
  • Jaime's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 0
Hello !! I'm here again... now with a question about the module that displays the latest comments.

Generally, modules have a tmpl folder in which a default.php file is placed that renders the module onto the page with the default styles.

If one wishes to customize that style, according to the current template, it is only necessary to create the module directory under html folder of the template folder and then, to place a custom default.php there.

In case of the latest comments module, I saw that this scheme was not followed and the HTML is rendered in mod_comments_class so I didn't see an easy way to customize the display of the module.

Is that true? should I need to modify directly mod_comments_class? is there another comment module that interacts with Joomla comment tables but it is easy to customize?


template of latest comments module is not customizable? 9 years 9 months ago #6642

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Correct, you cannot use that method because the Latest Comments module isn't 100% MVC. As such, you'll have to manually edit the CSS and whatnot for the module, which isn't very flexible.

The only other thing I know about that's JoomlaComment aware is Super Activity, but I don't know much about it and don't know if it's similar.

I hope to make the Latest Comments module fully up-to-date so it can be dynamically styled depending on the itemid being viewed - it would greatly increase the weight and value of the JoomlaComment package as a whole.

I'll throw you a bone here. Unfortunately, Daniel is taking it easy for a while (Study, Work, BiggieSmalls, real life, etc) and while I am here helping take the load off his shoulders wherever I can, I am still learning the advanced concepts of Joomla extensions. So, I can't give a timeframe for this. I'll ask Daniel though if he thinks we could concentrate on this soon.

Don't forget - JoomlaComment4 is an incomplete Beta that is based on a Joomla 1.0 native component ;) we're getting there, please be patient! And of course, you are welcome to help us out in some way if you can :)
  • Page:
  • 1
Time to create page: 0.073 seconds