Arena CMS Documentation

Version 1.1


Getting Started #back to top

Features - #back to top

Light and easy to use PHP framework build on modern MVC architecture to build responsive websites in just a few minutes.

Registration / Login / Users / Users Roles

Complete system to manage your users: user registration (you can enable / disable in admin area), email verification, forgot password, reset password, user login. 3 users roles implemented: admin (global access), editor (can manage all articles) and registered users (manage own articles).

Front-End Template based on Bootstrap 4

Save dozens of hours for developing your own theme! We make a simple, clean and optimised front-end theme based on Bootstrap 4 framework to help you starting a new project. SEO is very important for us so we optimised all pages for best experience for visitors and search engines.

Blog / articles system

With this feature, you can start a blog / articles website in just a few minutes.

Contact Messages Management

Every website needs a contact page to interract with the visitors. We implement a powerful contact page with a contact form. Contact messages are managed in admin area. Alslo you can send a reply to message author directly in amin area.

Slider Carousel

In front-end homepage template we implement a slider carousel. Slides can be managed in admin area (add slide image, title, description, redirect url...)

Static pages

Add static pages in admin area to show in frontend template


How to install - #back to top

STEP 1: Unzip and copy script files and folders on the server (without "_sql" folder). You can install it on localhost too.

STEP 2: Make writable (chmod 777) "public/temp" folder and "public/uploads" folder and all subfolders ("avatars", "img", "media")

STEP 3: Create a database and a user for that database (eg. in cPanel -> MySQL Databases)

STEP 4: Import mysql tables file from "_sql" folder. Steps to import a file: - Go to phpMyAdmin (or another database management script) - Select your database - Click on "Import" button - Choose file to upload (located in "_sql/tables.sql) - Upload (import) file

STEP 5: Edit the file "config.php" located in "app/config" folder.

STEP 6: Edit the file "database.php" located in "app/config" folder and add database connect details.

STEP 7: Login in admin area. Default admin connection details are: admin@website.com (as email) and 123456 (as password). You can change this details in admin area (my profile).


If you install it on localhost:

- in "app/config/config.php" define ('SITE_URL', 'http://localhost'); // no ending slash

If you install on a subfolder:

- rename and replace .htaccess_for_subfolder file as .htaccess

- in "app/config/config.php": $router->setBasePath('/your_subfolder')

- if you install in localhost: "app/config/config.php" define ('SITE_URL', 'http://localhost/your_subfolder'); // no ending slash

- if you install on domain / subdomain: "app/config/config.php" define ('SITE_URL', 'https://your-website.com/your_subfolder'); // no ending slash


Requirements - #back to top

- Like all important frameworks, PHP 7 is required (it doesn't work on old PHP 5).

- PDO extension enabled (it is enabled by default).

- MySQL database.

- Apache web server with ModRewrite (for htaccess support).

- Script can be installed on a root domain or subdomain but it works on any subfolder. It works on localhost too.


System folder - #back to top

"system" folder contain all core (system) controllers, models, views, routes and authentification used in backend area (admin area)

Usually you don't have to change anything in this area


Apps folder - #back to top

"app" folder

"config" folder contain configuration file and database connection

"controllers" folder contain controllers classes

"controllers" folder contain controllers classes

template.php file located in "app/controllers/" contain code related to all pages from front-end template (homepage, categories, blog post, authors articles, contact page and so on...)

"models" folder contain models classes

"routes" folder contain apps routes used in frontend template and backend area

"views" folder contain views files (template files) used in backend area only

Public folder - #back to top

"views" files that render the front-end template are located in "public/templates/template_name/" folder.

"assets" folder contain assets used in backend and frontend (css, javascripts, plugins, icons...)

"temp" folder must have write access (chmod 777)

"templates" folder contain frontend template files. If you create a new template folder, you must setup this folder in admin area (in general settings)

"uploads" folder contain files uploaded, such as avatars, articles images, sliders images, other images...


Vendor folder - #back to top

"vendor" folder conmtain classes / functions from third-party vendors (such as image resize class, smtp class...)

Support Desk #back to top

We provide free updates for minor version changes. Example: If you buy version 1.1, you will get for free updates like 1.2, 1.3... (any 1.x. version) This free updated versions will be available to download in your account.

Upgrades to new versions (from 1.x to 2.x) are considered new software and you must buy them as a separate product.

Our free support is related to fix bugs or errors only for the product you bought.

Support for "how to..." questions or providing custom modification is a paid support.

Copyright and license #back to top

If your end product including the item is going to be free to the end user then a Regular License is what you need. An Extended License is required if the end user must pay to use the end product.

If you bought the product, you are allowed to edit copyright links to point to your website.

Regular License

- Use, by you or one client, in a single end product which end users are not charged for.

Extended License

Use, by you or one client, in a single end product which end users can be charged for.

Version History (Changelog) #back to top

Changelog


                                        -----------------------------------------------------------------------------------------
                                        Version 1.1
                                        Release: June 15, 2019
                                        Filename: phparena-cms-1.1.zip
                                        -----------------------------------------------------------------------------------------

                                        - First release of a PHP Arena CMS.