About Simple Pages
The Simple Pages plugin allows you to easily create web pages for your public site using a simple web form. It requires no programming knowledge, and optionally allows users to add HTML markup, or even PHP code.
Simple Pages uses what are known as "slugs" to generate unique URLs for your website. For example, "about" is the slug in the following URL: www.myomekasite.com/about. It's as simple as that!
Advanced Uses
For advanced users, Simple Pages can accept nested slugs and PHP code which will allow you to build rich webpages through the web interface. Here are a few examples:
When specifying the slug for a page, you can add forward slashes "/" to simulate a nested relationship of directories. For example, a user could create a page with the slug "about", and another page with the slug "about/hours" which would render separate content.
You can use Omeka's prebuilt nav function to link to the "hours" page and an additional page for directions on the "about" page:
<?php echo nav(array('Archive Hours' => uri('about/hours'), ('Directions' => uri('about/directions')); ?>
Functions in the Theme API are also available to the SimplePages plugin, making it a powerful solution for advanced users.
