ucms.php V0.83 17-12-2007
The <body> and the <div id="wrapper" tags now also have a class setting with the name of the PageType.
If you only have one kind of page layout, then no changes are needed. If you wish to use several styles within a site, then prefix each different style setting with a '.PageType '.
So if some pages (plain) have a plain right column, include a '.plain #RightColumn { ' with the right column settings for a plain page and a '.otherStyle #RightColumn { ' with instructions for the background colour or image.
A small change to the database.php means that now the description of a page is included in any menu link as a 'title' (pointing to a link on most browsers will pop up a box with the contents of the link title).
ucms.php V0.82 13-12-2007
Changes to database.php to replace the & codes so that we can show & and other characters such as < > and £ in our pages.
This works in both Xinha edited pages and plain text pages, however, if you have 'code' pages in a language that needs these and other symbols, then 'function ucBuildBody($fptr,$rowptr,$template)' will need more changes to allow for this.
Added an Upload function to the menu. uploadPages.php uses wput to send the pages to an ftp server. The command for wput should be in the description field of a page called wput. The command should include the full source and destination information.
eg:-
--basename=/var/www/example/output/ -u /var/www/example/output/* ftp://user:password@example.co.uk/httpdocs/
--basename removes the local directory prefix.
-u forces files to be re-uploaded even if they already appear to be in the destination.
ucms.php V0.81 10-12-2007
Changes to showPage.php, the xinha editor is now only used if the PageType is not blank and does not begin with 'code'. This allows a for styles to be created that are built as regular html pages but can only be edited in plain text mode.
Changes to database.php so that now, when pages are built, the system displays warnings if a page that should be a complete page (it has a PageType other than 'code') has no Title, description or keywords.
Pages with a blank PageType will not be built. If text or other program files are needed (styles.css etc) then they should have a PageType of 'code'.
ucms.php V0.8 08-12-2007
Initial Release of the ucms.php system.