Adding new pages is easy! All you have to do is:
- create a text file in /resources/contentdb/pages. Name it whatever you like, so long as it's unique.
- Add your content to that file. Use tags such as <p>, <ul>/<ol> and <li>, <h3> thru <h6>, <img>, <object> (for Flash or Java) and <a>. There's no need to add any <divs> or any other layout stuff.
- Create a teaser title and teaser text in /resources/contentdb/pages. They should be named the same as your content file, but prefixed by title_ for the feed title and content_ for the teaser text. The teaser text should probably be a short <p>. The title just needs to be the heading for the teaser, no HTML tags needed.
- Create a php file in the appropriate folder, which will be your page. You can easily do this by copying one of the existing files.
- Change the parameters to generate_page() as follows: The first string is the title heading of your new page, the second is what you named the txt file in contentdb, and the third is the primary link it should be a child of. For example, a page called "Our Work" in the "About Us" could be as follows: generage_page('Our Work', 'ourwork', 'about_us');
That's really all there is too it! No copying and pasting HTML code, no including various PHP files. It really is that simple!