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

Is there a trick to have a single menu type to display on a mutli menu page?

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

Hi,

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!
Cheers,
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

So for the content section you leave it as:

<?php echo $about_usRecord['content'] ?>

Re: [winprogress] Issue with Section Editor Displaying

By winprogress - July 5, 2012

That about us section disappears when I have subpage?record_title-2

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

Nevermind got it.