Plugin

Archived
Forum
(read-only)


For official support, visit the official support site »

Tied Entries

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Adam Khan

     

Playa within a Matrix compatibility?

Support Request

Shanan
Shanan

Do you know if there are any known issues using Tied Entries on a Playa field in a Matrix field? I am debugging and running into an instance where a standard Playa tag returns results:

<ol>
  
{exp:channel:entries channel="targets" dynamic="no" show_future_entries="yes" show_expired="yes"}
  
<li>
   
{title}
    
<ol>
     
{exp:playa:children 
      field
="at-need-list"
     
}
      
<li>
       
{title}
      
</li>
     
{/exp:playa:children}
    
</ol>
  </
li>
  
{/exp:channel:entries}
</ol

But Tied Entries does not:

<ol>
  
{exp:channel:entries channel="targets" dynamic="no" show_future_entries="yes" show_expired="yes"}
  
<li>
   
{title}
    
<ol>
    
{exp:tied_entries
     this_entry_id
="{entry_id}"
     
tie=">at-need-list"
    
}
    
<li>
    
{tied:title}
    
</li>
    
{/exp:tied_entries}
    
</ol>
  </
li>
  
{/exp:channel:entries}
 
</ol

“at-need-list” is a Playa field within a Matrix field. Any chance that’s the culprit?

Adam Khan
# 1
Developer
Adam Khan

Yes Shanan, I’ve not looked into how Matrix handles things in the db, so I’m not too surprised it doesn’t work. The plugin gets a list of the channel’s fields, and I would guess Matrix fields are stored in the db using a different method than top-level fields.

Seems like something the plugin should have this functionality though as Playa fields within Matrix fields is so widely used now.

Shanan
# 2
Shanan

Adam, thanks for the quick reply. Looks like it’s back to embedded templates for the moment. Count me in for this project if you get inspired and add matrix compatibility. I’ll keep an eye out. That said, it’s a great tool. Cheers.