Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Is it possible to disable comments from within a template or handler ?

edited December 2012 in Announcements

Hi!

I am creating an application and use the elefantcms blog app as startingpoint. In my application the user passes several steps. In one of the steps I want to disable the commenting. Is this possible from within the post.html template or post.php handler?

Thanks,

Taco

Comments

  • Currently the comments are enabled/disabled on a blog-wide basis under Tools > Blog Posts > Settings. There's no option to disable comments for some posts and not others I'm afraid.

    Of course, if you're customizing the post output, you can easily disable it by removing them from the post.php file. Just search for the word 'comments' in the source and comment out the block pertaining to them.

Sign In or Register to comment.