Data Array : Blogs

Posted on Sun, 8 May 2011


Here is the data structure of the Blog Posts array of Porn CMS included in the Blogs template pages. The $id key variable is received from the URL.

$Blogs[id][$id]
Unique ID for this record.
$Blogs[blog][$id] Blog ID of this content from Blogs Array. See below for Blog Array details.
$Blogs[title][$id] Title of content (rawurlencoded).
$Blogs[meta][$id] Meta description of the content (rawurlencoded).
$Blogs[body][$id] Body text of the content (rawurlencoded).
$Blogs[tags][$id] Space delimited list of tags for this content.
$Blogs[status][$id] Active status of the content. (y|n)
$Blogs[showdate][$id] Publish date of content in the following format:
2008-01-01 00:55:00
$Blogs[permlevel][$id] Flag for setting permission level of viewer. (free|paid)

Blog Posts are sorted into Blogs. You can create multiple blogs in Porn CMS. Here is the data structure of the Blogs array of Porn CMS. The $blog key variable is received as $section from the URL.

$myBlogs[id][$blog]
Unique ID for this record.
$myBlogs[title][$blog] Title of section (rawurlencoded).
$myBlogs[description][$blog] Brief description of this section (rawurlencoded).


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.