Headlines by Category

Template: /templates/headlines_bycat.html

This template is used to give your visitors a quick categorized glance at the latest headlines. It list categories, and up to a certain number of articles for each. This page is often included via SSI's on other pages.


Templatecells

cell description
header this cell begins a list of articles for a category.
footer this comes after each list of articles.
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
divider this cell is displayed between each two adjacent articles.
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: If the not_found templatecell is left blank, no header, footer, or divider will be published for this category.

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
$category_list$ this placeholder specifies where to place the list of categories



templatecell : header

placeholder description
Global Placeholders For a complete list of Global Placeholders, click here
$cat_num$ the record number of the category
$cat_name$ the title of the category
$cat_breadcrumb$ the 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 this category's Index Page



templatecell : footer

placeholder description
Global Placeholders For a complete list of Global Placeholders, click here
$cat_num$ the record number of the category
$cat_name$ the title of the category
$cat_breadcrumb$ the 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 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 : divider

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



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