Issue with Section Editor Displaying
6 posts by 2 authors in: Forums > CMS Builder
Last Post: July 6, 2012 (RSS)
By winprogress - July 5, 2012
For example if I have News with read more. And About Us section on same page. When you go to read the individual news the about us section disappears.
Re: [winprogress] Issue with Section Editor Displaying
By Damon - July 5, 2012
If you are using a single page content to display on the same page as multi-page content, you need to add this to the single page (about us) example code:
list($aboutRecords, $aboutMetaData) = getRecords(array(
'tableName' => 'about',
'where' => '', // load first record
'loadUploads' => true,
'allowSearch' => false,
'limit' => '1',
));
If there is any query in the URL, it acts like a search and the about us content disappears. The above code prevents that.
Please let me know if that fixes it.
Thanks!
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Damon] Issue with Section Editor Displaying
By winprogress - July 5, 2012
<?php echo $about_usRecord['content'] ?>
Re: [winprogress] Issue with Section Editor Displaying
By winprogress - July 5, 2012
But will appear when it displays when it is subpage?record_title-1
Re: [winprogress] Issue with Section Editor Displaying
By winprogress - July 5, 2012
Re: [winprogress] Issue with Section Editor Displaying
By Damon - July 6, 2012
Glad to hear that it works now.
If you have any other questions, just let me know.
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/