A PEAR CMS: Examining the Code - Edit Sections
(Page 4 of 4 )
The template has two editable sections. One is the navigation section:
<table width="100%" border="0" class="bord">
<tr class="header1">
<td colspan="2"><div align="center">Content Management System </div></td>
</tr>
<tr>
<td width="5%" valign="top"><!-- TemplateBeginEditable name="EditRegion4" -->nav<!-- TemplateEndEditable --></td>
The other is the main section, which will be used by all the scripts to display the main content:
<td width="95%" valign="top"><!-- TemplateBeginEditable name="EditRegion3" -->main<!-- TemplateEndEditable --></td>
</tr>
There are also non-editable sections, such as the copyright.
<tr class="copy">
<td colspan="2">©2008</td>
</tr>
</table>
</body>
</html>
Another non-editable section is the logo or header section:
<table width="100%" border="0" class="bord">
<tr class="header1">
<td colspan="2"><div align="center">Content Management System </div></td>
</tr>
<tr>
That covers all of the application-wide scripts. In the next article, we will be looking at the authentication section of the application, which is responsible for logging users into and out of the system.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |