Index pages

Default template: /templates/index/default.html

The Index template is used to publish each of the Category Index pages, as well as the Global Index page. The Index pages list a number of articles and usually provides a link to follow to read more. Frequently, an Index page will list a summary or an abstract for each article.

This template is also used by the Search Engine when a visitor clicks the "more" link. A published Index page will display the more or no_more templatecells, while a template viewed through the Search Engine will display the prev or no_prev, and the next or no_next cells.


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
more a link to the next page of articles. This templatecell is used on the published Index page.
no_more what to display if there is no next page of articles. This templatecell is used on the published Index page.
prev a link to the previous page of articles. This templatecell is used when this page is viewed though the Search Engine.
no_prev what to display if there is no previous page of articles. This templatecell is used when this page is viewed though the Search Engine.
next a link to the next page of articles. This templatecell is used when this page is viewed though the Search Engine.
no_next what to display if there is no next page of articles. This templatecell is used when this page is viewed though the Search Engine.
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)
$file_headlines$ filename of the Category Headlines include for this category
$more$ this placeholder specifies where to place the more or no_more templatecell
$prev$ this placeholder specifies where to place the prev or no_prev templatecell
$next$ this placeholder specifies where to place the next or no_next templatecell



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_field20$
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 : more

placeholder description
Global Placeholders For a complete list of Global Placeholders, click here
$more_url$ a link to the next page of articles.



templatecell : no_more

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



templatecell : prev

placeholder description
Global Placeholders For a complete list of Global Placeholders, click here
$prev_url$ a link to the next page of articles.



templatecell : no_prev

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



templatecell : next

placeholder description
Global Placeholders For a complete list of Global Placeholders, click here
$next_url$ a link to the next page of articles.



templatecell : no_next

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