Jump to content

Replace CommentForm/CommentList with custom classes


Alpine418
 Share

Recommended Posts

Hi,

I want to replace the comment output classes with custom classes. Because I need the output formatted for Bootstrap, with a few other tweaks.

I'm rendering the template with this code:

<?= $page->comments->renderAll() ?>

How can I replace the default classes CommentForm and CommentList with custom classes before the instance got created?

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...