Phire CMS : Open Source Content Management System

Phire CMS

In this section, we'll outline how to access and manage everything under the Content navigation tab.

Content > Pages

Under add or edit page, you'll see a pretty standard set of fields that you can fill out. Of course, the "Title" and "URL" fields are required. "URL" has to be unique under the assigned site. You can use placeholders within the page content to tell the system where content or assets would go within the page. Here's a quick list of things that might be pertinent to a page and its content: page. Here's a quick list of things that might be pertinent to a page and its content:

  • Assign which template is used to display the page content under "Template."
  • Assign the page to a site under "Add to Site."
  • Assign the page to a section under "Section."
  • Set the page meta content under "Author," "Keywords," and "Description."
  • If a WYSIWYG editor is installed, you can toggle between it under "Editor."
  • If no WYSIWYG editor is installed, you can use "Page Filter" to format the content with line breaks or paragraphs if needed.
  • "Page Access" makes the page viewable to the public or to members only if set to private.
  • "Publish" makes the page live and viewable to the public if set to "Yes," offline (producing a 404 error) if set to "No," and viewable only to system users that are currently logged in if set to "Draft."

Quick Hint! As you type the page title into the field, the system will auto-suggest an appropriate URL based on the title as you type it. You aren't obligated to use that URL, but it usually does provide a good starting point. And here's a pretty cool little feature — each site has a title separator assigned to it, so if you type the title separator into the page title field, the system will replace it with a forward slash in the suggested URL, for example, if the site title separator is " | " and you type:

Test Page | Some Section | Sub Section

it will produce:

/test-page/some-section/sub-section

as the suggested URL.

Content > Templates

Under add or edit template, you'll see only a few fields that are needed to set up a template. Your template code can be anything you need it to be, such as HTML, XML, plain text, etc. Both the "Template Name" and "Template" are required. "Template Name" also has to be unique. You can use placeholders within the template to tell the system where content or assets would go within the template.

As part of the mobile presentation feature in Phire, the optional "Mobile Template" is where you would input your template code for an alternate mobile presentation display. If the user is detected viewing the site from a mobile device, then if the mobile template is set, it will be used.

Here's a quick list of things that might be pertinent to a template:

  • Assign the template to a site under "Add to Site."
  • Set the content type under "Content Type"
  • You can set an optional, alternate mobile template under "Mobile Template." If this is set, it will display the page content using the set mobile template is a mobile device is detected.

Quick Hint! You can place a template into another template or page by the special case placeholder [{template_#ID#}], where #ID# is the ID number of the template — for example, [{template_6001}]

Content > Sections

In Phire CMS, sections are a pretty powerful and flexible feature. When you click to add or edit a section, you'll see a handful of fields that will let you set up and fine-tune a section. Each section gets its own URL that is accessible to the public if the "Section Access" is set to public, or just to the members if set to private. The section title and URL are required and must be unique. The same suggestive URL functionality works here as well.

The main idea behind sections is that it splits the grouping of the items into two lists — a short, abbreviated list and a longer, more complete list. What this does is allow you to place a short list of, for example, the three most recent pages under your Blog section, into a side bar on a page. Then when someone visits the actual URL for the Blog section, they will see the full, complete list of pages under that section. This is achieved by setting two templates for a section — a short one and a long one. Those templates are then used to iterate over the listing of the items in a section. Much like the main templates, section templates can be anything you need them to be — HTML, XML, plain text, etc. You can then use placeholders within the section templates to tell the system where content or assets would go within the section template. Here's a quick list of things that might be pertinent to your section:

  • Assign the section to a site under "Add to Site."
  • Set the template for the section under "Template." This will be used for the long listing display.
  • Set the short template iterative code under "Short Template." For example, <a href="[{page_url}]">[{page_title}]</a>
  • You can specify an element to contain the short listing under "Short Template Container."
  • You can set the limit of how many items to display in the short listing by setting the "Short Limit."
  • Set the long template iterative code under "Long Template." For example, <a href="[{page_url}]">[{page_title}]</a>
  • You can specify an element to contain the long listing under "Long Template Container."
  • You can set the limit of how many items to display in the long listing by setting the "Long Limit."
  • If the long listing gets to be pretty long, you can set the long list to paginate by checking "Paginate."
  • You can set the sort order by item ID, Title or Date, ascending, descending, or random.

Quick Hint! You can place the short listing of a section into a template or page by the special case placeholder [{section_#ID#}], where #ID# is the ID number of the section — for example, [{section_7001}]

Content > Feeds

In Phire CMS, the integration of external feeds is a built-in feature. When you click to add or edit a feed, you'll see a few fields that will let you set up and fine-tune a feed. Similar to sections, feeds use a template and iterate the listing of the items in a feed using that template. Here's a quick list of things that might be pertinent to your section:

  • Assign the feed to a site under "Add to Site."
  • Set the feed URL in the "Feed URL" field. This will usually be some sort of RSS or Atom feed.
  • You can set the limit of items to list with the "List Limit."
  • You can set the template to use under "Feed Template." You can use the feed-based placeholders to tell the system where the content of the items go.

Quick Hint! You can place the feed into a template or page by the special case placeholder [{feed_#ID#}], where #ID# is the ID number of the feed — for example, [{feed_9001}]

Content > Comments

If you allow comments under certain pages, you will be able to edit and control them from here. As comments are submit, you can approve/disapprove them, mark/unmark them as spam or delete them all together. You can also click on a comment to edit the content of that comment individually in need be.