How many CMS can I apply to one page

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 2, 2011   (RSS)

By Twocans - February 2, 2011 - edited: February 2, 2011

Hello,

How many times can I add the CMS code to a page.

I have created an input area for a detail page. ALl this content is unique to this page.

I was then wondering. I have a right column, inside that right column I will have it through out most of my site. So

My questions is

can I apply the two cms code to one page.

regards

k

Re: [twocans] How many CMS can I apply to one page

By Jason - February 2, 2011

Hi,

There is no limit to the number of CMS Sections you can access from a single PHP page.

This part of the code from the code generator:
// load viewer library
$libraryPath = 'cmsAdmin/lib/viewer_functions.php';
$dirsToCheck = array('C:/wamp/www/sb/CMS Builder/','','../','../../','../../../');
foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }


Which goes up at the top of your page only needs to appear once on the page. After that, you can access as many CMS Builder sections as you like.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/