<!-- <![CDATA[ --><?php buildComments($currentpageid, "default_discussion.tmp"); ?><!-- ]]> -->
What do you get?
Well, if you've done it right the comments system should generate a form, not unlike the one at the bottom of this page, and it will also go off and retrieve all the comments that have been made on your page and display them using the layout snippet you've specified. When you log into the management system, each comment posted will have a delete cross against it allowing you to quickly weed out offensive or inappropriate comments. Each comment is also fully editable when logged into the CMS and any changes you make are saved when you hit the save button as usual.
Customisation
The comments system is fully customisable and you can totally change its appearance to suit the look of your website. You can find the comments form in the MCTEDiscussions directory in the root of the MicroCyte application, this form is predictably called form_template.php. The look of the comments can be changed by modifying the default_discussion.tmp in the /fragments/snippets directory, alternatively you can add your own snippet and specify it when calling the comments system in the code above. Because the comments system is dynamic, you can change the look of the comments at anytime simply by changing these two files and all previous comments will adopt the new styling.
Easy
So as you can see, you can actually add a comments form to any page within a matter of seconds and add comments into reusable templates using the exact same process, very useful for blogs like this! For more information please read the MicroCyte developers guide on Comments, linked below.


