Re: [rgc] Membership Edit Profile Page Preventing Listings from Displaying
Hi,
Does that code appear before the other getRecord calls that aren't working?
The foreach loop you posted will end. What it's doing is taking all of the fields inside $CURRENT_USER and loading them into the $_REQUEST array. This is typically only needed on profile editing pages. However, if this code is executing before other getRecords calls, it could be causing unwanted automatic searches. Basically, if there is a field in $CURRENT_USER that is used in other sections, it would trigger an automatic search.
To stop this, add the
'allowSearch' => false,
option to any getRecords call that doesn't appear to be working.
For example:
list($newsRecords, $newsMetaData) = getRecords(array(
'tableName' => 'news',
'allowSearch' => false,
));
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/