Documenation

Page

/_plugins/page.php

A plugin to create static pages which are stored in a database. Pages can be managed through the administrative interface linked from the Dashboard. Also requires the MySQL (or other database) and Node plugins.

Class

$model->page

Public functions

  • $model->page->nodes_to_list ( array $nodes, array $list )
    Creates a flat array of nodes.
  • $model->page->rewrite ( string $url )
    If urlRewrite is set to TRUE in /_config.php this function makes URLs more readable. In this case it transforms /page/?permalink=example into /p/example (this requires a working .htaccess file in the root directory).

See also