Guide Category

134

addnews.tpl

Add or submit news or article from the main page is using the theme file addnews.tpl. In this section, customizable templates that are used when you add news to the database by the website 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:
dlestarter
addnews.tpl Add or submit news or article from the main page is using the theme file addnews.tpl. In this section, customizable templates that are used when you add news to the database by the website 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
{category} Field is displayed to select a category will belong to category
{xfields} Output additional fields (for details, refer to the application of the Default theme that comes with script)
{bbcode} Displayed buttons to insert tags in the News
{admintag} Withdrawal of additional options for the administrator and users who has permission to access to administration
[urltag] and [/urltag] Shows the code enclosed in the tags to change the URL for this article SEO (can be set in Admin CP)
[not-wysywyg]
and
[/not-wysywyg]
Displays the text enclosed in the tags if the WYSIWYG editor is enabled, if disabled, the contents of the tag is removed and use default BBCode
{shortarea} Displays WYSIWYG editor to add a short news
{title} Displays the title while writing news
{alt-name} SEO value when writing news
{short-story} Short news when writing news
{full-story} Full story when writing news
[sec_code]
and
[/sec_code]
Displays the text when it was enabled to use the latest news CAPTCHA
{sec_code} CAPTCHA code display
{fullarea} Displays WYSIWYG editor to add the full news
[recaptcha]
code
[/recaptcha]
Display the information contained in the tags, if in your script enable the security Captcha type of 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} Display the question of the visitor previously specified list of questions and answers
{votetitle} Displays poll header when writing news
{frage} Display the question of the poll when writing news
{votebody} Displays a list of answers from the poll when writing news

Related Tutorials

Review/Leave Comment

comments powered by Disqus