← Return

CMS Step 6

Instead of each page file consisting of a series of 'includes' statements, we can use a shortcut - let each page behave like 'record'. Now, there is a character-delimited text file for each page, containing the page title and a list of files to be included. Two delimiters are used - '###' to separate the title from the list, and ',' to separate items in the list.
A new piece of code in the index file uses this list to generate a page.


Nip Shoppe logo

Files and Folders:

 Files and Folders for Example 6

'html' 'pages'