1. Alex Bond
  2. Bugs
  3. Sunday, 10 March 2019
  4.  Subscribe via email
Good evening.

First of all I want to thank you for your great Ccomment extension. I like it very much that’s why I bought Pro version.

Can u tell me please how to make it possible to auto reload last posted comment in the module (Latest/Most CompojoomComment) with Ajax?

I was looking for this solution on your forum, but I did not found any suggestion.

Thank you in advance.

Alex
Responses (4)
Accepted Answer Pending Moderation
Hi,

I am sorry but the module doesn't provide such a feature
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 1
Accepted Answer Pending Moderation
Hi,

Is there any other solution to reload comments in the module without reloading the whole webpage?

Or can u give me an advice how to make this possible with Ajax by editing core files of the module?
  1. more than a month ago
  2. Bugs
  3. # 2
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Alex,
You'll have to write the javascript for this and you'll have to hack the helper.php file.
https://docs.joomla.org/Using_Joomla_Ajax_Interface

The function that generates the list with comments is getComments from ModCommentsHelper
source/modules/mod_comments/helper.php

you could add an ajax method and call the getComments from it, then return a json of the comments and your javascript should replace the comments on the page with the returned json.

Unfortunately this is not a change that is just hacking few lines, so I can't give you more help with it.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 3
Accepted Answer Pending Moderation
Hi Daniel.

Thank you very much for your message. I'll try this.

Kind regards,

Alex
  1. more than a month ago
  2. Bugs
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Trying to override default_form.php in Joomla 4 bu
I've installed CComment Core on my Joomla 4 site. Looks good so far, except for ...
1 Replies
Posted on Thursday, 02 December 2021
  • Resolved
  • New
  • Cant save Hotspot global settings
    Using Joomla 4.0.2 and Yootheme installed. After installing Hotspot Core success...
    5 Replies
    Posted on Saturday, 23 October 2021
    • #hotspot
    • #hotspots core
    • #joomla 4
    How much do you take to develop a plugin to displa
    Hello, I have a site with Hotspots Pro 6 installed. How much do you take to ...
    2 Replies
    Posted on Wednesday, 24 November 2021
    • #hotspots pro
    Installing Compojoom
    Hi, I just bought the Matukio Events and tried to install the extension via Comp...
    11 Replies
    Posted on Sunday, 28 November 2021
  • New
  • How to enable or disable comments for a category o
    Hi, How do I enable/disable comments for a category? Or menu/menu item? I can'...
    2 Replies
    Posted on Monday, 29 November 2021
  • Resolved
  • New