Skip to content
Jacob Rogaishio edited this page Apr 11, 2018 · 4 revisions

Pages contain all of your posts and information and are the cornerstone of any CMS.

Requirements:

  • A template setup and configured. If no template is configured then a default example template will be used.

Adding pages via SimpleCMS:

  1. Login to SimpleCMS administrator by visiting the admin.php page via www.yourwebsite.com/admin.php
  2. On the left navigation, click "Page manager"
  3. Click on "Add a Page" to open the page management form
  4. Enter all necessary information (Check off the Is Homepage? box if this is your first page!)
  5. Click the "Create this page" button to create your page

Below are the available functions for retrieving page information via scopes:

  • getId()
  • getTitle()
  • getTemplate()
  • getTemplatePath()
  • getSafeLink()
  • getMetaData()
  • getHasBoard()
  • getIsHome()
  • getConstr()

Below are the available functions for setting page information via scopes:

Please note that currently any information set will NOT save into the page. Any permanent page changes will need to be performed via the administrator page.

(Also note that you will need to supply a new page value via the parameters)

  • setId($val)
  • setTitle($val)
  • setTemplate($val)
  • setTemplatePath($val)
  • setSafeLink($val)
  • setMetaData($val)
  • setHasBoard($val)
  • setIsHome($val)
  • setConstr($val)