Linuxdoc Linux Questions
Click here to ask our community of linux experts!
Custom Search

6.1. Directory structure

Admin:

Contains 4 subdirectories (links, language, case, modules) that manage the various administration modules. The folder that accommodates the operating files is modules/admin/ .

Blocks:

Contains all the block files for all of our available blocks.

Images:

Contains all the images relating to PHP-Nuke, for example in the folder "topics" we will find archived the images of the topics that will appear in the news, in "banners" all banners in rotation etc...

In includes

are all the files that are necessary to particular management situations, these files do not work independently but are included in other files, mainly in mainfile.php and header.php. The files are:

Language:

contains translation files for the basic PHP-Nuke module. The language file naming convention is lang-english.php.

Caution Attention!
 

The translation of the modules must be inserted in the appropriate folders (modules/languange) and not appended to these files, as it was done till now.

Modules:

The modules of PHP-Nuke comprise all the functionality that one can add to it.. In the Modules folder we insert the folders of every new module.

Themes:

Here we add the graphical interfaces known as "Themes", every folder has the name of the corresponding theme and contains a main file called theme.php and all other support files.

Upgrades:

contains only the files that serve to upgrade the system from a previous version to a newer one..