Introduction

Overview

CMS is a content management system to manage contents of a system from a central interface. Basic operations like Create/Retrieve/Update/Delete etc can be handled through CMS. CMS aims to avoid the need for hand coding, but may support it for specific elements or entire pages. Not just the content, but the entire site can be managed through CMS.

CMS is a separate module. It is included as a sub-module of the iScripts framework in the modules directory. ie. framework -> modules -> cms.

The data operations for each section in the CMS is controlled by the “Manage Sections” option. It can make accessible to super admin and developer only. All common operations like Add, Edit, Delete, View, List, Pagination, Export, etc in a section is carried out based on the input of the “Section Config” column in the database.

The CMS developer login is defined in the project/config/settings.php. The CMS username and password is defined using CMS_DEVELOPER_USERNAME and CMS_DEVELOPER_PASSWORD. CMS_ROLES_ENABLED is defined as 'true' to enable CMS. GLOBAL_DATE_FORMAT_SEPERATOR is defined to set the seperator used in date format for CMS. The CMS variables defined in project/config/settings.php are

 
            define('CMS_DEVELOPER_USERNAME', 'developer');
            define('CMS_DEVELOPER_PASSWORD', 'developer');
            define('CMS_ROLES_ENABLED', TRUE);
            define('GLOBAL_DATE_FORMAT_SEPERATOR', "/");
          

Requirements

  • The tables required for CMS are cms_privileges, cms_roles, cms_sections, cms_users, cms_group and tbl_cms_settings.

  • The input(ie section configuration) should be in JSON(Javascript Object Notation) format.

  • The cms users should be defined in cms_users table and the user privileges should be defined in cms_privileges table.

  • The table tbl_files is required in case of file handling operations such as file upload fies.

Steps to be followed

To make changes to the configuration the user must have developer or sadmin privilege. Normally an user with developer privilege can login with username developer and password developer.

Features

The CMS provides functionalities to easily perform search, sort, join tables, create dashboard, perform operations such as add, edit, delete, view details, export, etc easily. It also provides functionalities include js and css files, data display options like ‘orderby’ and ‘where’ and perform validation of ‘required’, ’email’, ’url’ and ‘number’. Cms also provides the option to define breadcrumbs, prefix, postfix, header, etc.

Next CMS Features