Phire CMS : Open Source Content Management System

Phire CMS

Phire's template engine is really easy to use. It simple works with a set of preset placeholders that can be used in various places, such as within pages, templates or sections. Here's the list of system placeholders and where they apply:

General Content Placeholders

[{page_content}]
[{page_charset}]
[{page_title}]
[{page_sub_title}]
[{page_author}]
[{page_keywords}]
[{page_desc}]
[{page_robots}]
[{page_tags}]
[{page_created}]
[{page_updated}]
[{site_domain}]
[{site_email}]
[{site_tags}]
[{member_register}]
[{member_profile}]
[{member_login}]
[{member_forgot}]

Section Placeholders

[{section_url}]
[{section_title}]

[{page_url}]
[{page_title}]
[{page_sub_title}]
[{page_author}]
[{page_keywords}]
[{page_desc}]
[{page_content}]
[{page_content_#}] (Where # is the length to which to truncate the content string)
[{page_created}]
[{page_updated}]

[{file_name}]
[{file_title}]
[{file_desc}]
[{file_updated}]
[{width}] (If the file is a stand-alone image)
[{height}] (If the file is a stand-alone image)

[{image_name}]
[{image_title}]
[{image_caption}]
[{image_updated}]
[{large_width}]
[{large_height}]
[{medium_width}]
[{medium_height}]
[{small_width}]
[{small_height}]

[{event_id}]
[{event_title}]
[{event_url}]
[{event_start_date}]
[{event_end_date}]
[{event_start_time}]
[{event_end_time}]
[{address1}]
[{address2}]
[{city}]
[{state}]
[{zip}]
[{country}]
[{phone}]
[{event_link}]
[{event_desc}]

Feed Placeholders

[{link}]
[{image}]
[{title}]
[{description}]
[{pubDate}]
[{timeElapsed}]

Special Case Placeholders

[{template_#ID#}]
[{section_#ID#}]
[{events_#TYPEID#}]
[{feed_#ID#}]
[{youtube_#ID#}]
[{vimeo_#ID#}]
[{viddler_#ID#}]
[{date}]
[{date_m/d/Y}] (Uses standard PHP date format parameters)
[{sess}]...SESSION_VAR...[{or}]...NO_SESSION_VAR...[{/sess}]
[{base_path}]
[{sys_path}]
[{content_path}]

Available Session Placeholders

[{username}]
[{user_id}]
[{member_id}]
[{email}]
[{fname}]
[{lname}]