8. Configuring the number of items displayed
29 May 2009
Display your latest blog entry on the homepage
The homepage can be configured to display any number of the latest blog category entries (see configuration and setup instructions supplied with PENpages Package).
If you choose to over-ride this feature (set to 0) you will need to modify the optional text area that contains the heading announcing
"latest blog entries"
homepage_blog.txt
Changing the number of Entries, comments displayed per page
You can set the number of items displayed on various Blog and Admin pages. In the case where partial text entry is displayed you can also set the number of characters displayed. Each will be discussed in the order they are defined in the PHP-script file config.php. They will be described as follows:
- Page name
- Data to be displayed
- Code-line number in file config.php
- Current configuration
- Possible effect of changes
Warning: accidental changes made to config.php will affect the operations of PENpages. Read the instructions and descriptions carefully. Open the file config.php using ONLY a plain-text-editor such as Notepad, Text-Edit, BB-Edit or Dreamweaver
- Beginning line 25 where it reads /*Admin view: Category Index... etc.
You will notice 2 lines of code with the value =0. The first determines how many categories will display in the table on the Admin homepage called Cat-Index.
Visitor's : Add Comment