PEAR Articles

  Home arrow PEAR Articles arrow Page 4 - A PEAR CMS: Examining the Code
PEAR ARTICLES

A PEAR CMS: Examining the Code
By: David Web
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2008-10-08

    Table of Contents:
  • A PEAR CMS: Examining the Code
  • Connecting to the Database
  • Styles
  • Edit Sections

  •  
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    advertisement

    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">&copy;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.
    blog comments powered by Disqus

    PEAR ARTICLES ARTICLES

    - Installing PEAR
    - PEAR: an Introduction
    - Managing robots.txt using PHP: Generating Dy...
    - Deleting Authors from a PEAR Content Managem...
    - PEAR CMS: Index and Delete Scripts
    - Listing Articles for a PEAR Content Manageme...
    - Building an Authors Page for a PEAR CMS
    - Building the View Details Page in a PEAR CMS
    - Creating the Main Pages of a PEAR CMS
    - Completing the Login Script for a PEAR CMS
    - User Authentication for a PEAR CMS
    - A PEAR CMS: Examining the Code
    - Building a Content Management System with PE...
    - Installing a PEAR Package
    - My PEAR: The Beginning


    © 2003-2012 by Developer Shed. All rights reserved. DS Cluster 7 - Follow our Sitemap