#1396 Posted in ‘CommentBox’

Latest post by Tim Alegria on Friday, 05 September 2025 21:14 EEST

Tim Alegria

Hello

I'm currently trying out the free version of CommentBox as I'm interested in the Pro version.
But currently my CommentBox is showing completely at the bottom of my page right before the footerand after the related articles section.
Is it possible to place this between the article itself and the related article section?

Kind Regards,
Tim

Lefteris Kavadas

Hi Tim,

By default, CommentBox is rendered automatically at the end of the component output. This ensures compatibility with all components.

If you’d like to place it in a different position (for example, between the article and the related articles), you can do so with a layout override. Simply add a small piece of code in your override file:

At the top of your override file, include the helper:

use Firecoders\Component\CommentBox\Administrator\Helper\CommentBoxHelper;

Then, wherever you want CommentBox to appear, insert:

echo CommentBoxHelper::render();

This way, you have full control over where CommentBox is displayed.

Kind regards,
Lefteris

Tim Alegria

Hi Lefteris,

Thank you for your reply.

Which piece of code i must include wherever i want ComentBox to appear?
Seems like you forgot to add it in your reply.

"Then, wherever you want CommentBox to appear, insert:"

Also if i add that in my override, won't it render the CommentBox anymore at the very end otherwise it will be there two times?

Kind regards
Tim

Lefteris Kavadas

Hi Tim,

Thanks for pointing that out — it seems the code snippet was stripped out by the ticket system. I’ve updated my previous reply with the correct code.

And no worries, adding CommentBoxHelper::render(); manually in your override won’t result in duplicate rendering. CommentBox detects this and skips the automatic rendering if it has already been output manually.

Kind regards,
Lefteris

Tim Alegria

Hi Lefteris,

Thank you for the quick and straightforward help.

Kind regards
Tim

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