ExpressionEngine Relationships and Related Entries
Update: @onebrightlight was kind enough to point me to YouTubEE which makes embedding YouTube vidoes much simpler, doing away with all the embed code that I had to use in both sets of templates.
Even after you’ve wrapped your head around the way ExpressionEngine works, it still takes a bit of effort to understand the way relationships work. Of course, the first place to start would be to have a look at the Relating Entries bit of documentation which does a fairly good job of explaining them. But if you want to see a real world example of developing a site that makes pretty neat use of related entries, read on.
Instead of rehashing what the documentation explains, I think the best way of learning is always by doing, so we’ll jump into the example right away. Just a note, the code being used is from ExpressionEngine 1.6.9, but it’s pretty simple to covert ExpressionEngine 1 code to ExpressionEngine 2 code. The concept behind relationships and related entries has not changed in ExpressionEngine 2.
Recent Posts
Subscribe to RSS Feed
Get in touch
If you'd like me to work on a project with you, shoot me an email directly to tony[at]tonygeer.com or use the contact form.
If you have a pretty good idea of all your needs and you're ready to share, fill up the Client Questinonaire and attach it (these details would allow me to give you a much more specific quote).
Client Questionnaire .doc format | 86KBTony evaluated what we wanted to do, and implemented it efficiently and effectively; and when we kept piling on new features, using new tool-sets, he rose to the challenge, and saved the project.
Jeremy Lassen
http://www.nightshadebooks.com
Twitter updates
My Projects
A gallery showcasing MojoMotor powered websites.
Offering ready to use MojoMotor themes and templates.