Make global variable parse early?
Hi Low, I've got this query, but because member_id is parsed late the query is not returning anything. Is this something Low Variables can sort out for me.
Best wishes
Lee
{exp:query sql="
SELECT exp_channel_titles.entry_id
FROM exp_channel_titles
WHERE exp_channel_titles.author_id = '{member_id}'
AND (SELECT exp_ratings.entry_id FROM exp_ratings
WHERE rating_author_id = '{member_id}') != exp_channel_titles.entry_id"}
{entry_id}
{/exp:query}
Replies
Low 5 Aug 2013 07:01
You can turn on "Early parsed member data", see http://gotolow.com/addons/low-variabl... ...which will give you an early parsed {logged_in_member_id} to work with.