New Classes for WBCE CMS,  1.4.1
Documentation for all new Classes in WBCE CMS
WBCE CMS folder structure.

Table of Contents

This is about the basic WBCE CMS directory structure and the basic functions of those folders.

"var" and "config" are quite new and "account" and "search" are to be removed soon. Some folders even can be moved to somewhere else eg. the "pages" folder.

All folders explained

Lets take a look at the folderstructure:

accountadminconfigframework
includeinstalllanguagesmedia
modulespagessearchtemp
templatesvar

We will no step by step go through the folders and explain what their function is.

account

The account folder is partly like the admin directory ist a somehow thrown together backend that displays in the frontend mainblock. It is meant for managing the the user data if users are allowed to edit own settings. This functionality is soon to be transfered into a module, after that the folder is removed . Maybe we leave the index.php and folder for compatibility.

Back Up

admin

The adminfolder contains the actual WBCE CMS backend, its more or less a small CMS its own. The BE functionality completely differs from the frontend. All BE pages are conteined into their seperate folders sharing only the template/theme folder.

Back Up

config

This is a completely new folder introduced mainly to make the install process more easy. The old config.php file often suffered from the problem that some hosters decide to not allow scrits write access to the webroot folder. So User had to handle the renaming of the config.php file themsefs. When the new install process is finished , users only have to take care of the correct access rights the the folders.

Back Up

framework

Contains all files for the WBCE CMS framework. Core functions/classes the init process and all other core releated things.

Back Up

include

The include folder contains all external libraries like PHPmailer, Twig (the template engine), PHPlib, PCLzip, Idna Converter.... and many more

Back Up

install

This folder contains all scripts needed to install WBCE CMS

Attention
Normally this folder is deleted after installation. If its not deleted , please delete it manually as its a gread security issue to leave it on the webspace.

Back Up

languages

The languages folder contains all language files needed for the WBCE CMS core. All languages can be installed and uninstalled via the admin backend.

Back Up

media

The media folder contains all media uploaded by WB users, galleries store their images here, downloads can be stored here and if a module handles any kind of file uploads, all goes to the media folder. Its possible to browse and maintain the folder through the media manager in the admin backend.

Back Up

modules

All modules installled in WBCE CMS reside in the modules folder. Admin tools, frontend modules, snipits all can be found in the modules folder.

Back Up

pages

The pages folder contains the access files for all generated frontend pages. The directory structure is the same as the one displayed in the directory tree in admin BE.

Back Up

search

The search folder is pretty similar to the account folder as its a standalone search display that shares some parts whith the common core. Search same as account both have no page id when called. It soon to be moved to a module.

Back Up

temp

The classical temp folder only thing thats missing is that it needs to be erased on a regular basis.

Todo:
We need a mechanism that deletes the content of the temp folder on a regular basis.

Back Up

templates

All templates installed go to the templates folder. Both frontend and backend themes are moved here upon installation. Additionally this folder contains the new default system templates. The old admin default tempaltes reside in the admin folder under themes and templates.

Back Up

var

This is a new folder, it was made to offer a place to store settings, templates and more. The most important thing is that all things stored here normally are not affected by uninstall or upgrade in any way.

Back Up