Recommended Links

Common For all pages

This section shows you how you can have editable content which is the same throughout the site ( NOTE: It is language specific ) .All the navs below are generated using snippets that are included with the framework, edit this content to see how it was generated

Sub Nav:

Main Nav:

Footer Nav:

Unique Per Page

Template Parser Engine

The Template Parser Engine was written from the ground up using pure native PHP and no additional libraries making it really fast.

The Template Parser includes many powerful features like automaticly extracting Config.php settings and SiteMap.XML settings and making it available to the view, so you can simply use template variables like: siteName, siteURL, pageTitle, metaDesc, metaKeys etc. in the following format: {templateVariableName} and it will automaticly convert those to the associated values without any configuration from the developer.

The Template Parser also allows for reverse parsing, which means you can convert portions of the strings into there associated {templateVariableName} equivalent. This concept is why the CMS is so portable. All the Links are reverse parsed into their associated template variables before saving.

The developer can easily create custom template variables, by simply passing in an associative array of key value pairs as a second argument when either loading the main content or a content bucket, when in a controller function, using the load functions:

  • $this->loadMainContent( 'home', array( 'customName'=>'My Name' ) );
  • $this->loadContentBucket( 'sideContent1', array( 'customName'=>'My Name' ) );

Site Powered by Mac's PHP MVC Framework Framework of the future
Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.