CoyoteCms.com

Templates

CoyoteCMS uses templates coded in PHP. Because this presents a possible security issue, templates can be only edited by admin users. There are three  sets of pre-assigned variables available for use in your template.

The PHP superglobal variables, such as $_GET can be used.
<? echo $_SERVER["QUERY_STRING"]; ?>
The variables in config/config.php through the array $this->CONFIG.
<? echo $this->CONFIG["coyote_url"]; ?>
Page-specific variables through the array $this->PAGE.
<? echo $this->PAGE["article_author"]; ?>
Besides page-specific variables, $this->PAGE always contains these variables.
$this->PAGE["cms_title"]     // Page Title
$this->PAGE["cms_content"]   // Module Content
$this->PAGE["cms_page_id"]   // Page Id
$this->PAGE["cms_page_type"] // Module Short Name
$this->PAGE["cms_doc_url"]   // Filename
$this->PAGE["cms_template"]  // Template ID
$this->PAGE["cms_fullurl"]   // URL Minus Domain
$this->PAGE["cms_opt"]       // Optional Page Field
This could be a very basic template
<html>
  <head>
    <title><? echo $this->PAGE["cms_title"]; ?></title>
  </head>
  <body>
    <h1><? echo $this->PAGE["cms_title"]; ?></h1>
    <? echo $this->PAGE["cms_content"]; ?>
  </body>
</html>
You can also call $this->sub_template("template name") to include another template.
<? $this->sub_template("header_article"); ?>
<? echo $this->PAGE["cms_content"]; ?>
<? $this->sub_template("footer_article"); ?>
Demo Login
Try it out for yourself. Log in below to access the administration area. Some features (such as the Template and Module editing) are disabled. Demo Site is cleaned every hour.
Site Updates

June 13, 2006 Demo Back Online

June 7, 2006 Version 2.0 beta
New features include incremental publishing, change rejection, group-level page access and more. Visit the download page for more information.

Screen Shots
screenshots
XHTML 1.1
.net