Is there a built in way to do a “Simple Relationship” - storing only an entry_id?
Posted: 07 July 2008 07:51 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2021
Joined  03-26-2006

That may sound overly simple for someone who’s been using the software a while, but i don’t think reverse_related_entries can help me here - because I’m using categories, and a category archive loop, which, we all know, don’t play with RevRelE’s.

Instead of creating a “true” native-EE relationship that uses the relationship table and stores a lot of info, I want a field that populates a dropdown from another weblog and only stores the related entry_id. That’s it, that’s all, done deal, good night and good luck.

I currently have a field that I’m populating manually with a number that matches up with an entry id. I’m finding this is MUCH easier to deal with on my template than trying to trick reverse_related_entries into categorical display - I only have to use the weblog:entries built-in search parameter to grab the entries I need. I embed the entries tag with the search parameter, and pass the entry_id to search via an embed variable, and I can output, very easily, all the category archives I could ever need.

1) Is there a built-in way to do this sort of “simple relationship”?
2) Does an extension exist that already does this sort of thing?
3) Is there an easy way (query module?) to get the entry id of the parent from a relationship field? Seems like a simple relationship would be easier. I (and the client) just don’t want to have to enter an ID manually - a dropdown would be perfect.

 Signature 

ryan masuga
—————
Masuga Design (EE Pro) | devot:ee
MD Markitup | All Add-Ons
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 08 July 2008 07:24 AM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2021
Joined  03-26-2006

In answer to the thread’s question, there is now: Simple Relation.

Simple Relation (main forum thread)
Simple Relation (Download)

 Signature 

ryan masuga
—————
Masuga Design (EE Pro) | devot:ee
MD Markitup | All Add-Ons
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 77559 Total Logged-in Users: 38
Total Topics: 101552 Total Anonymous Users: 18
Total Replies: 544387 Total Guests: 276
Total Posts: 645939    
Members ( View Memberlist )