I was able to figure out a workaround for my problem but I guess I just wanted to know what was causing the problem in the first place.
A little background. I am build a site that use VZ Member to link a member to an entry. I want to offer a single URL that every user can go to and see their related entry. So I have created a template account_details and I have the following template code
{exp:channel:entries channel="account_details" limit="1" dynamic="no" search:vz_member_field="={member_id}"}which outputted nothing. I also tried logged_in_member_id with the same results. I ended up creating an embed and having the {member_id} passed to the embed which also had the same results. Finally from a suggestion of another user I used the following code
{embed="embed/.account_details" mem_id="{exp:member:custom_profile_data}{member_id}{/exp:member:custom_profile_data}"}
<!-- Embed Template -->
{exp:channel:entries channel="account_details" limit="1" dynamic="no" search:vz_member_field="={embed:mem_id}"}I was wondering if anyone could chime in with what might of been causing the problem so that I can make sure I don’t make similar mistakes in the future. Thanks.