-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
PHP 5 CMS Framework Development - 2nd Edition
By :
To explore implementation details, we will look at an example that is simple enough to be shown in some detail. It is an application for a straightforward blog.
Here, we'll look at a component that provides for a simple blog and could be further developed. Its essence is that it handles a piece of text, created using the site WYSIWYG editor by the administrator. The default blog page shows recent entries in reverse date order, often cut short by a code that splits the text between an introduction and the main text. Each entry links to the full text of an entry.
We shall see that writing a blog extension is made very much simpler by the various elements of the CMS framework that have been described in earlier chapters.
The main table for the blog application is shown in the following screenshot. We can ignore some fields for our present purposes as they are designed to support further developments. The folderid is to allow...
Change the font size
Change margin width
Change background colour