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
|
Posted: 17 November 2012 10:34 PM |
|
|
|
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
|
Posted: 17 November 2012 11:41 PM |
# 1
|
|
Developer
|
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
|
Posted: 17 November 2012 11:46 PM |
# 2
|
|
|
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.
|
|
|