Guide Category

134

addcomments.tpl

In Datalife Engine you can allow adding comments to your website using form in theme file addcomments.tpl. In this section, customizable templates, which are used when adding comments to the database by the website members or visitors. Editing this section is not recommended without knowledge of HTML, because it uses the field names are passed to the script via the form, in other words, you can edit the text on your own, but do not change the names of the fields, it is extremely important.
dlestarter
addcomments.tpl In Datalife Engine you can allow adding comments to your website using form in theme file addcomments.tpl. In this section, customizable templates, which are used when adding comments to the database by the website members or visitors. Editing this section is not recommended without knowledge of HTML, because it uses the field names are passed to the script via the form, in other words, you can edit the text on your own, but do not change the names of the fields, it is extremely important. You can use the following tags:
Tag Name Description
{title} - Displays the header, which this form to add or edit comments
[not-logged] and [/not-logged] - shows the code enclosed in the tags if the user is not registered, for example, you can conclude these tags field to enter the name and e-mail addresses if they are not filled and user login data will be automatically taken from his profile.
{editor} outputs depending on the settings BBCODE or WYSIWYG editor to add a comment
[sec_code] and [/sec_code] Displays the text when it was installed in your use of CAPTCHA when adding comments
{sec_code} CAPTCHA code display
[recaptcha]
code
[/recaptcha]
Display the information contained in the tags, if in your script set type of Captcha to use Google reCAPTCHA
{recaptcha} ReCAPTCHA widget displays if your script included this type of output captcha.
[question] and [/question] displays the text enclosed in these tags if the system included a question-and-answer
{question} presents the question of the visitor previously specified list of questions and answers

Related Tutorials

Review/Leave Comment

comments powered by Disqus