ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Status not working in related entry parent

May 30, 2013 5:34pm

Subscribe [1]
  • #1 / May 30, 2013 5:34pm

    So I’m pulling in info from my “profile” channel.
    Within that I’m also displaying info of a related parent of the current entry channel.
    That related entry field is “blogger.”
    Now if you’ll see I set the parent field status, which doesn’t show any results.

    If I completely remove the statuses, it works. The problem is since it defaults to only showing open statuses when there isn’t a status defined, my Featured Blogger status won’t show.

    {exp:channel:entries channel="profile" limit="1"}
    
                            <h1>{title}</h1>
                            {profile_job_title}
       
       {headshot}
                            {profile_content}
       
       
       <hr >
       <h3 class="sub">Blogs by {first_name} {last_name}</h3>
    
       
         {parents field="blogger" status="Featured Blogger | Open"}
        {if parents:no_results}No results found for this principal.{/if}
                       <a href="http://{site_url}site/blog_view/{parents:url_title}">{parents:title}</a>
       
                {/parents}
    
       {/exp:channel:entries}
  • #2 / Jun 05, 2013 2:47pm

    Any help with this?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases