I would like to use the logged in users UID as part of the query that q-views will use to query the database. Is the current user object available to the php code that is used to select the rows?
I would like to use the logged in users UID as part of the query that q-views will use to query the database. Is the current user object available to the php code that is used to select the rows?
Comments
Comment #1
ledom commentedIf someone else look at this, here is a workaround:
Put the query into php and use global $user to get logged in actualy viewing page. Then put $user->uid into the query