Re: [virgodesign] Display No.Records in List Viewer
Hi Avrom,
Try passing the value directly to the getRecords() code like this:
"limit" => (int) $site_templateRecord['number_of_ads'],
The (int) isn't really required, but it will force the value to be a number in case the client enters something else and prevent errors.
Just make sure you load $site_templateRecord first. Let me know if that works and any other issues you have remaining and I'll try and help! :)
Dave Edis - Senior Developer
interactivetools.com