Headlines

Default template: /templates/headlines/default.html

The Headlines template is used to publish each of the Category Headlines pages, as well as the Global Headlines page. These pages are often included via SSIs on other pages.


Templatecells

cell description
row an article with Article Type set to Full Article
row_summary an article with Article Type set to Summary Only
row_link an article with Article Type set to Internet URL
row_ufile an article with Article Type set to Uploaded Document
not_found what to display if there are no articles to display
img_caption Inserted wherever an Image Placeholder appears in the article's Summary or Content field. This templatecell is used if the image has a caption.
img_nocaption Inserted wherever an Image Placeholder appears in the article's Summary or Content field. This templatecell is used if the image does not have a caption.

Note: Article Manager supports alternating rows: if you create a row2 templatecell, it will be used for every second article in the list. Likewise, row_summary2, row_link2, and row_ufile2 templatecells may also be created.


Placeholders


Global Placeholders

placeholder description
$url_gindex$ the url to the Global Index
$url_publish$ the url to the directory containing all published files
$url_search$ the url to Article Manager's Search Engine
$file_gcategories$ filename of the Global Category List include (none selected)
$file_gheadlines$ filename of the Global Headlines include
$file_headlines_bycat$ filename of the Headlines by Category include
$file_search$ filename of the Search Form include
$global_updated$ the date and time any published pages were last updated
$gcat_name$ the Global Category Name
$url_thispage$ the url of the current page
$publishdir_virtualpath$  The path from the webroot directory to the publish directory. This is used by Article Manager to insert the path into "virtual" includes.

i.e.: If your publish URL is http://www.site.com/artman/publish/, the $publishdir_virtualpath$ is /artman/publish/.
$publishdir_filepath$  The full (absolute) server filepath to the publish directory.

i.e.: /users/home/www/html/artman/publish/



document placeholders

placeholder description
Global Placeholders For a complete list of Global Placeholders, click here
$article_list$ this placeholder specifies where to place the list of rows
$cat_num$ the record number of the category (if this template is being used for a category)
$cat_name$ if this is a Category Index, the name of this category, otherwise, the Global Category Name
$cat_breadcrumb$ the current category name and all directly related parent category names based on the design of the category_breadcrumb.html template file

e.g. News > Business > European Business
$cat_updated$ the date and time of the last update to this category, or the last global update
$cat_image$ an url to the category's image
$cat_image_height$ the height of the category's image
$cat_image_width$ the width of the category's image
$file_categories$ filename of the Category List include (with the article's category selected)
$url_index$ the url to this category's Index Page



templatecell : row

placeholder description
Global Placeholders For a complete list of Global Placeholders, click here
$art_name$ the title of the article
$art_date$ the date of the article
$art_time$ the time of the article
$art_summary$ the article's summary
$art_content$ the article's main body of content
$art_field1$ to
$art_field12$
any one of the twelve spare fields as defined in the Setup Options
$cat_name$ the name of the article's category
$cat_breadcrumb$ the article's category name and all directly related parent category names based on the design of the category_breadcrumb.html template file

e.g. News > Business > European Business
$url_index$ the url to the Category Index page of the article's category
$detail_link$ the url to the article's Detail Page
$art_printer_url$ the url to the article's Printer Page
$cat_image$ the url to the category image of the article's category
$cat_image_height$ the height of the category image
$cat_image_width$ the width of the category image
$file_categories$ filename of the Category List include (with the article's category selected)
$file_headlines$ filename of the Category Headlines include for the article's category
$art_num$ the record number of the article
$cat_num$ the record number of the article's category
$art_day$ Date: day of the month of the article
$art_mon$ Date: month number of the article (1 - 12)
$art_year$ Date: year of the article (four-digit)
$art_hour$ Date: hour of the article
$art_min$ Date: minute of the article
$art_ampm$ Date: morning/evening indicator of the article

Note: Each of the row types use the same placeholders as the row templatecell.


templatecell : not_found

placeholder description
Global Placeholders For a complete list of Global Placeholders, click here
This templatecell does not have any additional placeholders



templatecell : img_caption

placeholder description
Global Placeholders For a complete list of Global Placeholders, click here
$img_url$ the url to this uploaded image
$img_align$ the alignment requested by the user
$img_height$ the height of this image
$img_width$ the width of this image
$img_caption$ the caption entered for this image



templatecell : img_nocaption

placeholder description
Global Placeholders For a complete list of Global Placeholders, click here
$img_url$ the url to this uploaded image
$img_align$ the alignment requested by the user
$img_height$ the height of this image
$img_width$ the width of this image