mCMS documentation

mCMS Multilanguage Content Management System


Thank you for purchasing my content management system. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!

Software Minimum requirements Recommended Web Site
PHP, Multibyte String support PHP 5.3 PHP latest http//php.net
MySQL 5 PHP http://www.mysql.com
Apache 2.0 2.4 http://httpd.apache.org
or nginx 1.5.9 1.7.6 http//nginx.org
Apache Module mod_rewrite mod_rewrite
  1. Unpack the mcms_5xx archive folder and upload the content of the folder to your web server
  2. Create database
  3. There is a sql file in the +info folder. Import mcms_5xx.sql file to your created database
  4. Open mcms.db.php file and enter the database name, username and password you have chosen when setting up database
  5. When you finish installation process delete the +info folder.
  6. Login: Admin panel: www.yourdomainname.com/admin
  7. Username: admin Password: admin

Templates

All HTML files are in the "t" folder. To add your own template create new folder and give it your template name. Then open the mcms.cnfg.php file and add new view_template varibale (e.g. public $view_template = "Your Template Name";)
If you have .html files or template files copy and paste them or create your html, css or javascript files in this folder.

Sample templates:
Sample 01 - OpenHouse template files

Sample 02 - HealthCare template files

Sample 03 - Zentro template files

 

To integrate templates to mCMS system follow the instructions below:
{SITE_FOLDER} - gives folder path, to be able to read your imported files to HTML add {SITE_FOLDER} in front of them (e.g. {SITE_FOLDER}css/style.css)
HEAD - Meta Tags
In the demo version of the system there are .TPL files in the template folder, index.header.tpl defines the header and index.footer.tpl defines the footer section of the website as they are usually static and do not need to change in every page it is useful to seperate them.
"Site Options" menu in the admin panel which almost describes metadata within index.header.tpl file
mCMS login page
Encoding - meta charset="{CHARSET}"
Site name and title  are used in the "title" tags of HTML (e.g. <title>{TITLE_HEADER}{TITLE_SEPERATOR}{TITLE}{TITLE_INSIDE2}</title>)
{TITLE_HEADER} - defines Site name<br>

{TITLE_SEPERATOR} - defines "-" sign between Site name and site title

{TITLE} - defines site title<br>

{TITLE_INSIDE2} - defines other page titles of website for example about us, gallery and etc.

Keywords - content element of meta tag (e.g. <meta name="keywords" content="{KEYWORDS}"&gt;)
Description - content element of meta tag (e.g. <meta name="description" content="{DESCRIPTION}"&gt;)

As shown in the above picture you can add name, keywords and etc in different languages which are very good for SEO because each title has relation to the content on the page.</p>
Author - {AUTHOR}, Email - {META_EMAIL} and Site copyright - {SITE_COPYRIGHT} are for the footer of the website (index.footer.tpl).</p>

Navigation
There are 4 menu types for different section of the template: top menu, middle menu, foot menu and bottom menu. It depends on you to define in which section you want to put these menus.<br>
Example:
You have to pay attention with orders. When you put BEGIN top_menu you have to close it other case it wont work.
mCMS login page
<!-- BEGIN top_menu --> - shows beginning of the top_menu.
{top_menu.NAME} - define menu names  
{top_menu.NAME_UP} - Shows menu with upper letters
{top_menu.TITLE} - title of the menu. (title attribute of an <a&gt; tag)
{top_menu.COMMENT} - comment section from section manager of admin panel  
{top_menu.TEXT} - text section from section manager of admin panel  
{top_menu.BLANK}
{top_menu.SLUG} - auto generated slugs from section manafer of admin panel
{top_menu.URL} - menu link for the href element of an <a> tag

<!-- BEGIN sub --> -shows sub menus  

<!-- BEGIN menu -->  
{top_menu.sub.menu.CUR_CLASS} -class="current"</br>
{top_menu.sub.menu.ACT_CLASS} -class="active"</br>
{top_menu.sub.menu.DDWN_CLASS} -class="dropdown"</br>
{top_menu.sub.menu.CLASS_SUB} -class="dropdown-submenu" OR class="last-element"
{top_menu.sub.menu.URL} - submenu link for the href element of an <a> tag
{top_menu.sub.menu.TITLE} - title of submenu
{top_menu.sub.menu.NAME} - name of submenu
{top_menu.sub.menu.ID} - ID of sub menu
<!-- END menu -->
<!-- END sub -->
<!-- END top_menu -->

Bottom_menu, foot_menu and middle_menu is also follows the same steps as above you can find them at template_rules.txt file.

Sliders
mCMS login page Sliders are also begins and ends with BEGIN slider,END slider elements. Some explanation in below:
<!-- BEGIN slider -->
<!-- BEGIN items -->
{slider.items.NDX} - shows slider numbers in order.<br>
{slider.items.CLASS_ACTIVE} - indicate css elements of HTML (class="active")</br>
{slider.items.CLASS_VAL_ACTIVE} - only indicate "active".  
{slider.items.IMG_FILE} - Image path. Autmotically takes from slide manager of admin panel.
{slider.items.TITLE} - alt atribute of img tag in HTML
{slider.items.NAME} - Slider name from slider managers.</br>
{slider.items.TEXT_NOTAG} - Short information about slider, TEXT in slider manager
{slider.items.HREF} - href atribute of a tag in HTML. (e.g. href="URL")
{slider.items.MORE_TXT} - More text form from slide manager.
<!-- END items -->
<!-- END slider -->

Blocks
You can add unlimited numbers of blocks in different section of website. In demo version of OpenHouse template "Top Holiday Destinations" gallery, Testimonials, and gallery of the companies added from block manager.
When you add new category to block manager it gives you HTML ID which you will use it in HTML to show different sections. For example
mCMS blocks <!-- BEGIN blocks_14 --> - here 14 is HTML ID from block manager.  
<!-- BEGIN items --> item elements are all elements inside block category
{blocks_14.items.IMG_FULL} - Image full path <br>
{blocks_14.items.NAME} - Name from block manager inside block category
{blocks_14.items.TEXT_NOTAG} - Text from block manager inside block category
<!-- END items --&gt;
<!-- END blocks_14 -->
In this example social icons in the footer, privacy and policy, terms of use are also included from blocks manager.

Inside pages
There is no begin and end elements in inside pages if it only consists of Title and text. You can only add {NAME} as title and {TEXT} as more text about your post

mCMS - Content Management System allows you to create dynamic websites with a lot of features like multi-language option, integration of different website designs without programming skills and etc. In below sections you can find useful information about use of the system.
This manual is for content manager of the mCMS.

Login Page
The given address should be included to enter the admin panel the login page will appear which you have to include your username and password to login the system and to be able to work with system modules.
mCMS login page

Main Page
After sucessfully log in process main page of the system will appear.
This page is Dashboard and carries on different statistical information, for example how many files you have uploaded to the modules, statistical graphics about news module and activity log.  
mCMS News Statistics mCMS Recent activity log
In the top menu of the main page there are 3 menus as shown in the below picture with numbers.
mCMS Dashboard
The first one is for the visiting web site from admin panel

The second one is to manage site options, has 4 sub menus (Site Options, Your Profile, Change Password and Log Out)
mCMS Site Options
The third one is to logging out from the system.



Modules
In the left side of the system there are 8 modules: Section Manager, News, Gallery, Files, Blocks, Slider, Subscribe and Contacts.


Section Manager
This module is to add, edit or delete websites' main menus and submenus, which contains 5 menu blocks: top menu, middle menu, foot menu, bottom menu and static  
mCMS Section Manager
It is possible to add a new page with just one click to one of the these blocks. Then you need to fill the sections in the new opened page.

mCMS Section Manager forms

Index - may need for programmers, to show any information in the main page of website in future.
Visible  - to set the section visibility in the website
New Window  - to open page in new window (to click from menu in the website)
Template  - Structure of the design of website.  
Type  - type of the page
Content - Information page to add content
Welcome - Welcome text in the main page of the website
No link content - for the footer of website. For example contact, map and etc.
Link - URL to access a page when click menu
Module - One of the modules in the website

You have to mention url if you choose link as a type of page. If you want to include links in different languages you have to mention as follows.
For example: http://{LANG}.microphp.com
Result : http://en.microphp.com, Spanish: http://es.microphp.com
If you choose module as a type of the page you have to choose which modules you want to direct from the menu section.
After setting the proporties of the web page following infromation filled


Name - Name of the page
Header img {ID} - Id of the images from file manager. It will show image if the page shown with image.
Comment - A short information about a page
Text - text of the page
Link - Included link will open if you click the name of the page.
Slug - The URL of the link of page. It is for SEO (Search Engine Optimization). The system will automatically generate slug if you do not put anything in this form.

You can save all included information with save button, or cancel with cancel button.
Drag and drop method is used to change the order of the menus.

News Manager
This module is for to manage news and events section of the website.  
mCMS News Manager
There is also news options in this module which allows you to set limit to the news in the footer of the websites (news in the footer always shows latest news)</p>

File Manager


File manager module lets you upload multiple documents, pictures and files to the system.  
mCMS File Manager
File Id and Copy URL is for to include files to the different section of the website. You can crop images in different size with  action button.  

Gallery Manager
This module let you to create many galleries. You will first create a new gallery and then add files into it as following picture.</p>
mCMS Gallery Manager
Gallery number should be included in the section manager, news manager or any section to show the gallery in the website   
 

Blocks
Blocks manager helps you to add different banner images, galleries in different section of the website. To do this category must be created with add category button and blocks can be created in this category as following pictures.
mCMS Blocks Manager
mCMS Blocks Manager blocks
There are also options to edit, delete, activate or disactive both catgeories and blocks


Slider
mCMS Slider Manager
Slide manager lets you to add slide images in the website. To do this click add new slider button the following page will appear.</p>
mCMS Slider Manager add new slide

Active - to show or hide slide image in the website
Slide img - Unical ID of the image from file manager
Name  - name of the slide
More text - the text for the slide to learn more information
Embed code - embed code for the slide
URL - Link for the slide to access more information.

To save the information click save button, or cancel with cancel button.


Contacts
This section is for the contact information like in which address you want to accept emails and another mail proporties as following picture.</p>
mCMS Contacts Manager
Subscribe
Subscribe module let your users to subscribe website products, announcement and etc. In this module there are 3 proporties.  
mCMS Subscribe Manager

List of subscribers - Count of the subscribers and information about them
Mail templates - Let you define the format of the email you want to send your subscribers
Broadcast - text for the email template


Features
In this section you can set your features for the system. There are 5 sections: Manage Users, Modules, Options, Help and Log out


Manage Users
This section lets you to create new users, to give the permission to the users, delete, edit, activate or disactivate the users.  
mCMS User manager

There are 3 types of the user: Super admin, admin and the content manager.  
mCMS User manager types

You can set the permissions to the users with permission botton in front of the user names. In permission page you will see the module names and features you want to give the specific users like ine the following picture
mCMS User permissions


Modules
Modules section is mainly for the programmers to edit the admin module, admin template, seo configurations and language file of the website.  


Options
Options section lets you to set the in which language you want to produce your website, add keywords, add copyright information, set the language for the adim panel and etc.</p>


Help
In this section you can find useful information to manage the website