Hello,
I’m trying to display channel entries filtered by logged_in member custom field value.
I’ve this on my template:
<?php $member_data = ‘{exp:member:custom_profile_data}{my_custom_field}{/exp:member:custom_profile_data}’; ?>
{exp:channel:entries channel="my_channel" search:channel_field="<?php echo $member_data ?>"}
…
It does work…
Which is the best way to do it?
Thank you.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.