ComicCMS User Manual

HomeDownloadManualForums

Editing Templates :: List of Variables

Notice: This is a list of common variables ComicCMS ships with, this list is not complete and many plugins for ComicCMS give you even more variables to play with.

Comic Variables

These are variables you can use for displaying comics. Comics also support date, author and tag variables

VariableUse
{{comic_id}}ID (number) of the comic
{{comic_title}}Comic's title
{{comic_tagline}}Comic's tagline
{{comic_blurb}}Comic's blurb
{{comic_src}}URL to comic image

News Variables

These are variables you can use for displaying news posts. News also support date and author variables

VariableUse
{{news_id}}ID (number) of the post
{{news_title}}News post's title
{{news_post}}Content of the post

Date Variables

These are variables you can use on most objects, e.g. {{comic_day}}

VariableUse
{{*_day}}Number of the day the item was creates
{{*_weekday}}Number of the day of the week
{{*_month}}Number of the month
{{*_year}}Number of the year
{{*_hour}}Hour
{{*_minute}}Minute
{{*_timestamp}}Unix timestamp, used for special date operators

The use of date variables is usualy coupled with Date Operators

Author Variables

These are variables you can use on many objects, e.g. {{comic_author_name}}

VariableUse
{{*_author_id}}ID (number) of the author
{{*_author_name}}Name of the author
{{*_author_email}}Email of the author

ComicCMS, free php webcomic management software Copyright © 2007 Steve H