Template System Technical Overview

Posted on Fri, 18 May 2012

PornCMS is a flat file system, meaning all data and pages are stored in text files rather than a database. This makes accessing data very fast and easy. In general, PornCMS data is stored in PHP Arrays. If you know how to read an array, it will be very easy to recall data into your pages.

Each customizable page includes the data files related to that page. So, the Models template page will call the Models data file. The Videos template page will call the Videos AND Models data files. You can find out the structure of the data arrays by viewing the appropriate topic in this section of the forum.

PornCMS also includes a convenient set of php functions in every page. You can access one of these functions in your template by simply calling the function. To see the functions available in your template, view the "Display Functions" page of the Template editor in your website's admin area (SETUP>TEMPLATE). Some of the most popular functions are explained in this forum.

If you have any questions please submit a 
Support Ticket.


Tag cloud

cms tutorials design
Right column custom page. You can add anything you want here or disable it. This page displays on 2-column and 3-column Bootstrap layouts.