We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Relationships: get parent by child name in plugin

How Do I?

EXODev's avatar
EXODev
4 posts
about 9 years ago
EXODev's avatar EXODev

EE 2.11.1

Not going to try to elaborate why this is the case, but am currently working on a plugin where I have to work backwards from a child relation. However, I only have the child’s name available.

I have been digging around for a bit without success and figured, I would just make a DB query, but the relationship channel data field only reads XHTML.

So, in a plugin, how can I get the Channel Entry/Entries searched by a child’s name in a relationship field?

Happy to buy Playa, if this will help.

Thanks for the continued guidance.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.