How many CMS can I apply to one page

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

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/

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

By Twocans - February 2, 2011

Excellent

jason thanks

k