problem with nested related entries using embed
Posted: 09 September 2008 12:31 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  484
Joined  01-23-2006

Hi,

I’m using the nested related entries approach put forth by Derek here:

http://expressionengine.com/forums/viewthread/59635/

but I can’t seem to get it to work. BTW I’m using Mark Huot’s Mult-relationship plugin so that users can select multiple related entries.

Here is my main template:

{exp:weblog:entries weblog="courses" limit="1" url_title="{segment_3}" disable="categories|member_data|pagination|trackbacks"}
                 {reverse_related_entries weblog
="syllabus"}
                    {embed
="classroom/req-reading" entry_id="{entry_id}"}
                        
                        
</div>
                     
{/reverse_related_entries}


{
/exp:weblog:entries}

And my embed:

{exp:weblog:entries weblog="syllabus" dynamic="off" entry_id="{embed:entry_id}" disable="categories|member_data|pagination|trackbacks"}
    {related_entries id
="syllabus-required"}

<div class="contentsectioncontainer">
                            <
div class="title"><h4>{title}</h4><span class="dateright">Due: Prior to Session 1</span></div>
                            <
div class="para"><p>{resources-description}</p></div>
{/related_entries}

{
/exp:weblog:entries}

Any ideas what I’m doing wrong?

Thanks

Moved by Moderator to HowTo Forum

Profile
 
 
Posted: 09 September 2008 12:37 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12381
Joined  04-29-2002

Hi, fodney. This sort of question is more of a HowTo question instead of a Technical Support question. Moving to that forum for community support.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 14 October 2008 06:44 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  97
Joined  07-13-2008

I have a similiar problem. Anyone find a solution to this yet?

Profile
 
 
Posted: 14 October 2008 08:09 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  174
Joined  03-31-2002

Probably a dumb suggestion, but at least worth trying: Change the name of the embed variable (currently you’re using ‘entry_id’) to something different than the orginal EE tag, in case that’s confusing the parsing. E.g from

{embed="classroom/req-reading" entry_id="{entry_id}"}

to, say:

{embed="classroom/req-reading" the_entry="{entry_id}"}

(And of course, change the embed template too.)

 Signature 

Les McKeown, President & CEO
Predictable Success®

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: 64912 Total Logged-in Users: 27
Total Topics: 81863 Total Anonymous Users: 20
Total Replies: 440100 Total Guests: 198
Total Posts: 521963    
Members ( View Memberlist )
Newest Members:  bjmohrAqua193Bios Elementmjpoteetguimogranwelshmrcfthenetmonkeybenekwhobutsb