Clikpic User Guide/Adding forms and comments to your site/Showing comments about specific items

Adding forms and comments to your site

Showing comments about specific items

If you would like users to be able to leave comments about specific parts of your site, you can do this by selecting the Use comments option for a section. Comments can be used on articles, galleries, and photos.

When you tick this box, a dailog like the one shown will appear. Select the options for where you want the comments to appear.

After you subit the record, two new content items will have been created to appear in the section. To edit them, click on the content tab and locate the “comments“ and “form“ that have been created.

When editing these content sections, you will see the they have a display title like:

[clikcontent type=totalcomments] Comments [clikcontent type=expandlink]

When this appears on the page, the [clikcontent] tags are replaced with different values.

The totalcomments is the number of comments on the page. expandlink is the text entry for Content section 'expand' message (or Content section 'collapse' message) which is edited in Settings>Text/Language (see Text/language settings).

You can of course replace these tags but you will lose the functionality they provide.

Styling the comments

As well as editing the titles of the content items for your comments, you can change the styling by clicking on the styling tab. Bear in mind that the same content item is used for all your comments forms (see the following section to change this).

Some of the settings you are most likely to want to change are:

Comment>Options>Show comments 'No Results' message

Show a message if no comments are present. The text is edited in Settings>Text/Language (see Textlanguage settings)

Title>Title expands content

If set, then clicking the title will toggle the main content of the content section.

Title>Content initally collapsed

If set, the main content of the content section will be hidden when the page loads.

Showing content specific messages

To show comments on a content page, instead of setting a message's status to Use on guestbook, you select Use as comment. It will then appear in the listing only for the specified photo, article, or gallery.

NOTE: If a comment was left about a particular photo etc and you select Use on guestbook for its status, it will appear in both sections.

Using different forms for different sections

By default, the same form is used for all your comment sections. To change this, create a new content item of type “form” and select where you want the form to appear.

If you are also showing comments, you will also need to create a new content section of type “comments”, then select the relevant form and tick the comments mode box to show only the comments about the specific content.

 
 

Printed from www.clikpic.com - Websites for photographers and artists