User Specific Content

5 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: June 20, 2013   (RSS)

By ross - June 19, 2013

Hi Jeff

Thanks for posting! I've had a look at your code and I think I see the issue. Your "where" statement is searching based on the num field:

'where'       => "num = '".intval($CURRENT_USER['num'])."'",

I think what you want to be searching on instead is the "createdByUserNum" like this:

'where'       => "createdByUserNum= '".intval($CURRENT_USER['num'])."'",

Give that a go and let me know how you make out. Thanks!

-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Hey Ross, I tried that but it now returns "No records were found!" when logged in.

By ross - June 20, 2013

Hi Jeff

Thanks for sending your details. Seems like we got this all sorted out :). Thanks!

-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Hey Ross, yes that worked great, I appreciate the great service as always.