Templates

Templates are designed for fusing your design with News Script. You should define 2 templates.

First template represents one news line in news list. Usually it contains link (e.g. more) to news description page.
One of good place to put news list is Home Page.

Second template is used for news description. When your website visitor clicks "more" link in news list he goes to news description page.

To fill templates with content use following tags:

%%id%% - News ID. Suitable for be placed in links in news list to link with news description. Use something similar to <a href='description.html?id=%%id%%'>more</a>. Check sample templates to see how script works.
%%title%% - Title of the News
%%category%% - Category of the News
%%small_desc%% - Short description of the news. Suitable to be placed in news list.
%%big_desc%% - Long description of the news. Suitable to be placed in news description.
%%image_url%% - Image URL
%%image_tag%% - Image tag. Uses Image URL when image_url is blank then no image generated.
%%uname%% - Name of user that posted news
%%year%% - Year of the News
%%month%% - Month of the News
%%day%% - Day of month of the News
%%hour%% - Hour of day when News was posted
%%minute%% - Minute when News was posted
%%second%% - Second when News was posted

If your browser supports HTML Editor then you may click HTML Editor link to edit template in WYSIWYG HTML editor.