Re: [pothompson] Viewer problems with Google tracking codes
Hi Paul,
>The other option I had thought of was possibly adding an
>additional parameter to the getRecords() function to
>always return a record.
That's actually what the argument in this line does:
'where' => whereRecordNumberInUrl(1),
So if there's no number on the end of the url it uses that value as the where. So you get "WHERE 1", which is always "true" and should return everything. I'd be curious why that didn't work on that page.
Another option for numbered pages would be to remove the where line and use ?num=123, as that will filter on the record number and adding extra values to the url won't change anything.
Hmm, I'll give this one some more thought.
Dave Edis - Senior Developer
interactivetools.com