Create a Page

  1. Click on the small green plus icon (it has the tooltip “Add child” when you hover the mouse pointer over it) at the right of the “parent” page that you want your new page to be created “under”.
  2. Fill all necessary information(Title, body, tags, …).
  3. Save it by clicking the “Save” button below the editing area.

Note that all “main pages” in Frog are actually a “child” page to the Home page.

Page Status Definition

Draft

constant = Page::STATUS_DRAFT

This is the one to use when you write a page, but you only want to save it as a draft for more writing later.

  • it will NOT be listed by $this->children()
  • it will NOT be found by $this->find('its_url')
  • it is NOT possible to access it directly with its full url

Reviewed

constant = Page::STATUS_REVIEWED

Use this when you want to add a special status to a page that has been reviewed. You need to code a special condition in the children param like array('where' => 'status_id = '.Page::STATUS_REVIEWED')

In this way, you will get only reviewed pages.

  • it will be listed by $this->children()
  • it will be found by $this->find('its_url')
  • it is possible to access it directly with its full url

Published

constant = Page::STATUS_PUBLISHED

  • it will be listed by $this->children()
  • it will be found by $this->find('its_url')
  • it is possible to access it directly with its full url

Hidden

constant = Page::STATUS_HIDDEN

Use this status when you have written a page that you do not want in your site’s navigation (e.g., RSS, Sitemap, etc.). This status is also useful for previewing your page before setting its status to Published.

  • it will NOT be listed by $this->children()
  • it will be found by $this->find('its_url')
  • it is possible to access it directly with its full url

note: it can be listed with $this->children(array(), array(), true), because you can ask children to include hidden pages (3rd param need to be set to true)


Frog CMS Demo

Public front end website click here
Administration backend click here

Opensource.com admin login info:
login: admin
password: demo123

Help us!

There is no profit here. The more we raise the longer we can keep things going and the better it will get.

Click here to lend your support to: Frog CMS and make a donation at www.pledgie.com !