Hi,
I’m trying to get the channel entries with a specific search:
{exp:channel:entries channel="mychannel" limit="15" dynamic="off" search:myfield="{logged_in_member_id}" }
But it is not working.
If i replace
search:myfield="{logged_in_member_id}"
for any number it works fine, so I think this is not the way to get the logged_in_member_id.
Any help please?
I think it’s a parse order issue. I suggest Mo’ Variables which adds …
Early-parsed Member Variables (for use as tag paramters): {logged_in_member_id}, {logged_in_group_id}, {logged_in_username}, {logged_in_screen_name}, {logged_in_email}
Give that a try, it’s free 😊
The logged_in_*
variables are ready early for conditionals, so it seems like we should be parsing their variable counterparts as well. Do you mind filing a bug report for this, @restos?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.