#1465 Posted in ‘CommentBox’

Latest post by Roland Wampers on Thursday, 18 December 2025 17:39 EET

Roland Wampers
Hi,  I decided to try out CommentBox (Free Version) on my Joomla 6.x website, but it is not appearing when using Gantry5 framework. Out of the box, it works just fine in the default Cassiopeia template , mentioning "Login to Comment", when using the default permission settings [inherited] and the comment form nicely appears when the permissions "create comments" and "edit comments" are set to [allowed]. However, CommentBox DOES NOT APPEAR in the Gantry5 framework.  How can I, being a non-coder, bypass/correct his problem ?  Thanks in advance.  

Lefteris Kavadas

Hi Roland,

Thank you for trying CommentBox and for the detailed explanation — this helps a lot.

What you’re experiencing is expected behavior with Gantry5 and not a configuration issue on your site.

Why this happens

Gantry5 does not render pages using Joomla’s standard component output. Instead, it uses its own layout system. CommentBox currently relies on Joomla’s core rendering events to automatically inject the comment markup. Because Gantry bypasses those events, CommentBox is not automatically displayed — even though it works perfectly in Cassiopeia.

Good news: no coding is required

You can make CommentBox appear in Gantry by adding a small HTML block using Gantry’s built-in tools.

How to fix it (recommended approach)

  1. Go to Gantry → Layout Manager
  2. Open the layout where you want comments to appear (e.g. Article layout)
  3. Add a Custom HTML Particle
  4. Copy & paste the contents of the following Gist into it: https://gist.github.com/kavadas/0404d904ff4fd8800e696f8a72b9b40f 
  5. Save and clear cache

That’s all — CommentBox will now load normally, including:

  • Login prompts
  • Permission checks
  • Comment form
  • Existing comments 

Important notes 

  • This is a Gantry limitation, not a CommentBox bug
  • The Free version works fine once the markup exists
  • No PHP or JavaScript editing is required
  • You only need to add this once per layout

Looking ahead

I am exploring cleaner integrations for Gantry-based templates (for example, a dedicated particle), but due to how Gantry works, automatic injection is technically not possible.

If you need help placing the particle in the correct layout or want screenshots, feel free to ask — I’ll be happy to help.

Best regards,
Lefteris

Roland Wampers
TYVM (Thank You Very Much) for your prompt reaction & solution 
Working it in was even more simple & easy to implement:

In my template style I opened my Layout [Outline] and I simply added a particle called [Custom HTML], where I pasted the HTML code while leaving "process twig" & "process shortcodes" UNchecked.
I placed the Custom HTML particle in the "Mainbody" container, right under the [Page Content] particle.
Done

In my 25 year experience as a Joomla power user, this is by far the finest functionality & user friendly comment system I'm keen to recommend both, the tool and your service.  
Thank you for that.
Roland

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review