Attention!

These forums are not monitored. We provide the discussions forum as a place for users of free extensions to help each other and find answers, not as a place for our staff to deal with urgent support issues. Our staff very rarely responds to forum posts. Occasionally we will respond to forum posts but responses are not guaranteed.

If you have an active subscription for a commercial extension and wish to receive support please login to your Artetics.com account and submit a ticket. The ticketing system is the best way for you to get assistance in a timely manner.

Thank you!

  Saturday, 03 September 2016
  4 Replies
  4.8K Visits
0
Votes
Undo
Hi,
Can you point me to documentation that describes syntax of inserting logged in USERID parameter into SQL query please?
I want to issue a CALL myProc(USERID); I have it working without the parameter or with a fixed parameter.
The documentation doesn't contain much in the way of "how-to" samples.

Thanks
more than a month ago
·
#24325
0
Votes
Undo
For the benefit of anyone else looking for this solution.
So, if in doubt, take a look at the source code! What I needed was USER_ID in my query:
CALL myProc(USER_ID);
more than a month ago
·
#24456
0
Votes
Undo
Alternatively, if you are looking for the JOOMLA userid, then add {JOOMLAUSERID} to your SQL.
more than a month ago
·
#24706
0
Votes
Undo
I'm a new user - how exactly can I add {JOOMLAUSERID} to my SQL in order to restrict rows to the current user logged into Joomla?

Many thanks.
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!