|
How to:
Design Templates
This guide is broken into
two sections.
-
Creating your own Design
Templates.
-
How Design Templates are
used.
Creating your own Design
Templates.
The first step to creating
your own design templates is to make an example article headline, and format
it exactly as you would like your published news to look. See the example
below.
| Small Image Here. |
Headline
linking to the Article here.
Introduction / Teaser here. |
Next, take a look at the table of markers
at the very bottom of this page. Choose each marker that is needed to
produce the results shown above. Now, replace the example article
information with the appropriate markers. Your result should look something
like the snippet below.
| [[thumbnail_image]] |
[[titlelink]]
[[intro]] |
Next copy the snippet of
HTML that produced the above design template. Open a new web browser and
log into Creative News. Click 'Style Settings', then 'Add Design
Template'. Enter a descriptive name in the design template name text box.
Now right click on the design template code text box, and click 'Paste'.
HTML code should appear in the text box. You will also see the
markers.
How Design Templates are
used.
Each time a Writer or Editor
adds / edits an article, they have the option of selecting a design
template. If they do not choose a design template, then the first one from
the list will be used. (unless a design
template override is used in the insertion order). The design template
chosen is then used to format the news headlines on the news pages.
Extra Info:
You can
only manage design templates with an administrative account.
There are several
different design template files that come with Creative News. Each
file contains the same design templates names as the standard design
templates, but with a different color scheme. You can find these files,
as well as instructions for using them here.
|
Full
Story Page Markers
|
| Marker |
Purpose |
| [[title]] |
The
Article's Headline. There will be no link to the Full Story Page. |
| [[byline]] |
Author's Name. |
| [[channel]] |
The
Article's Category |
| [[thumbnail_image]] |
A small version of the
image uploaded (all html code required to
display the image). If no image has been uploaded, [[thumbnail_image]]
will be replaced with a blank string of text. |
| [[fullsize_image]] |
The
Article's Photo If there is a Photo, replaced with a
blank string if there is no photo. (This
includes all html code required to display the image.) |
| [[thumbnail_url]] |
The URL
for the thumbnail image. |
| [[fullsize_url]] |
The URL
for the full size image. |
| [[photocap]] |
The
Article's Photo Caption / Description. |
| [[intro]] |
The
Article's Introduction. This may include any HTML code that was
placed in the add / edit article form. |
| [[story]] |
The
Article's Body. This may include any HTML code that was placed in
the add / edit article form. |
| [[date]] |
The
Article's Publication Date. |
| |
|
|