Manifesto Directory Structure

This guide merely provides an overview of the files and directories to be found in Manifesto website installation.

At the root level, there are only 4 significant PHP files:

   The popup window for media selection used by the editor
   The popup window for link creation used by the editor
   The default script page

The first two provide popup windows for Manifesto’s WYSIWYG editor. The index.php page receives and parses all page requests, and includes the appropriate templates needed to respond to the request. It contains no actual HTML markup, all of which belongs in the page_layout and other templates.

Additional files:

   The default .htacces file, similar to the one used by WordPress, etc.
   This is the initialization script the prepares the environment, parses the request URL, etc.
   The standard robots.txt text, specify which files robots may access


   The junk drawer directory, containing notes, license, documenation, etc
       Storage for site-wide, core image elements (deprecated)
       Storage for locale-specific translation files (deprecated)
       Core and Base modules live in here. Described in more detail below.
       All implementation-specific files go in here. The /site/ directory may contain its own /mods/ directory, containing modules specific to this site, and may have one or more alternate *Themes*, allowing limitless overrides of any of the templates available on the site.

In theory, you should never modify any files outside of the /site/ directory, because all of those files belong to the core Manifesto package, and may be overwritten the next time the software is upgraded.

Each module is a directory containing one or more sub-directories that house all the classes, templates, and addtional files to provide the module’s functionality.

Module Directory:
   This file handles additonal preparation specific to the module, which occurs before any modular templates have been loaded
   This acts like a module-specific controller file, routing page requests based on function to the appropriate templates and scripts
   Scripts used for functionality in the Site Management interface
   Directory containing Class definition files
   Contains any moudle-specific scripts run on a schedule
   Scripts used for functionality in the Editorial interface
   Contains any moudle-specific javascripts to be attached to views
       All related templates and random function files
       Module-specific CSS files