
Jason
Staff
/ Moderator

Dec 16, 2011, 9:11 AM
Post #5 of 5
(362 views)
Shortcut
|
|
Re: [bragg31] CMS Builder 2.13 Preview Issue
[In reply to]
|
Can't Post
|
|
Hi, Yes, that change in the code generator was made. From what you posted, I'm assuming that the personal_insurance section is a single record section. Since in a single record section, there will only ever be 1 record, there is never any need for a where clause, which is why it was phased out of the code generator. That being said, under normal circumstances, both method would work correctly. The problem you encountered is that if there is a where clause in your getRecords call, the preview functions are not triggered correctly. It's usually best to have a separate PHP page that is only used for previewing. Hope this helps clarify. Glad to hear everything is working correctly now. --------------------------------------------------- Jason Sauchuk - Programmer interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
|