10 of 11
10
Multi Relation
Posted: 15 June 2008 11:25 PM   [ Ignore ]   [ # 163 ]  
Lab Assistant
RankRank
Total Posts:  142
Joined  01-20-2008

I’m having the same problem as ISO and JCI.

I’m using Multiple Site Manager with EE 1.6.3.

When I first enabled the plugin, all the related entries stopped displaying on all my pages. I then applied the fix suggested by Leevi Graham. All my related entries are now displaying EXCEPT for the relationships set up with the multi-relationship field.

I tried adding the site name to the code in case it needed that, but this hasn’t helped either.

{exp:weblog:entries weblog="sa_topic" status="open" site="mac"}
{related_entries id
="satopic_related"}
<p><a href="{title_permalink path="support_advice/topic"}">{title}</a></p>
{/related_entries}
{
/exp:weblog:entries}

Has anyone sorted this out yet?

Profile
 
 
Posted: 15 June 2008 11:36 PM   [ Ignore ]   [ # 164 ]  
Lab Assistant
RankRank
Total Posts:  142
Joined  01-20-2008

I went looking for an alternative and found Playa (http://brandon-kelly.com/apps/playa/).

As soon as I downloaded and enabled this extension, Mark’s MultiRelationship stuff started working!

I don’t know why, but I ain’t complaining!

Profile
 
 
Posted: 15 June 2008 11:49 PM   [ Ignore ]   [ # 165 ]  
Lab Assistant
RankRank
Total Posts:  142
Joined  01-20-2008

Sigh, I spoke too soon.
Neither Playa or MultiRelationship work. Playa displays the entries from the related weblog as a bulleted list with an add and remove button, but I can’t select anything to add and remove.

Back to adding Relationship 1, Relationship 2, Relationship 3 fields I guess!

Will EE2 have multi-relationship capability?

Profile
 
 
Posted: 23 June 2008 09:58 AM   [ Ignore ]   [ # 166 ]  
Grad Student
Rank
Total Posts:  52
Joined  01-10-2008

Can I just make a request to the EE team that this multi relation plugin gets a mention in the user guide? Or could someone who can, add it to the User Contributed Notes?

http://expressionengine.com/docs/modules/weblog/related_entries.html

I read the example (linked above) about the Night Club Owner wanting to post items that link to all his regular performers very carefully, and it seems to indicate to me, from the very start, that you or I, like he, would want to be linking to multiple entries. So the fact that this functionality has to be implemented by a plugin is really surprising! 

Or am I missing something?

Cheers!

 Signature 

http://www.gradualism.co.uk/

Profile
 
 
Posted: 23 June 2008 11:07 AM   [ Ignore ]   [ # 167 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1562
Joined  08-02-2006
emilyh - 23 June 2008 09:58 AM

Can I just make a request to the EE team that this multi relation plugin gets a mention in the user guide? Or could someone who can, add it to the User Contributed Notes?

http://expressionengine.com/docs/modules/weblog/related_entries.html

I read the example (linked above) about the Night Club Owner wanting to post items that link to all his regular performers very carefully, and it seems to indicate to me, from the very start, that you or I, like he, would want to be linking to multiple entries. So the fact that this functionality has to be implemented by a plugin is really surprising! 

Or am I missing something?

Cheers!

It probably won’t get mention in the user guide simply because it is a third party add-on.

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 23 June 2008 03:11 PM   [ Ignore ]   [ # 168 ]  
Grad Student
Avatar
Rank
Total Posts:  67
Joined  10-03-2005

I’d like to ad my voice to the people experiencing problems when any parameters are added to the related entries tag.  A couple different examples have already been noted, mine popped up when I tried to add “orderby=“date” sort=“desc”” to my tag and got the following error:

Notice: Undefined index: expertise_articles" orderby="date" sort="desc in /pathinfo/extensions/ext.multi_relationship.php on line 471

Notice
: Undefined index: field_id_ in /pathinfo/extensions/ext.multi_relationship.php on line 478

If I take out the “orderby=“date” sort=“desc”” parameters the tag executes correctly.

We’re running 1.6.0 build 20070815.  We are not running Multi-Site Manager. I tried Leevi Graham’s fix (thanks Leevi), but the error persisted.  I’d appreciate any other ideas on a fix.

The error does not happen on reverse related entry calls, so if you can flip how the relationship is called you have some other options.

Profile
 
 
Posted: 09 July 2008 01:07 PM   [ Ignore ]   [ # 169 ]  
Summer Student
Total Posts:  1
Joined  06-17-2008
Jacob Fentress - 22 November 2006 12:36 PM

Mark,

One question. Is there any way to implement a way to count the number of relations?

Specifically, I’m trying to do show a list of guests (for a radio program), but I want it to be in sentence format, with commas in the appropriate places. The code I’ve attempted is as follows:

{related_entries id="guests"}
{if count
== total_results}<a href="http://myurl.com/radio/guests/{entry_id}">{title}</a>{if:else}<a href="http://myurl.com/radio/guests/{entry_id}">{title}</a>, {/if}
{
/related_entries}

Unfortunately, the count for every entry comes out to “1” - at least that’s what I get if I try {count}, so the above code always assumes each count equals the total results because the count and total results show up as “1” even if there are 2 or 15 guests.

Do you have any workarounds for this?

I’m having the same issue ... just want to know if anyone has a solution?

Profile
 
 
Posted: 10 July 2008 04:08 PM   [ Ignore ]   [ # 170 ]  
Grad Student
Rank
Total Posts:  61
Joined  07-02-2008

Modification in #21 worked for me. Essential Extension. Thanks.

Tom

Profile
 
 
Posted: 20 July 2008 10:34 AM   [ Ignore ]   [ # 171 ]  
Lab Assistant
RankRank
Total Posts:  114
Joined  01-30-2007

Just a quick note: on 1.6.4, PHP5 I got the {REL etc bug appear after I’d deleted one of the multi-related entries via the the control panel’s edit table. Seeing it I cleared the caches etc via utilities - no difference. But after going into the specific weblog entry that referenced the multi-relations (again via the edit table) and reselecting the multi-related items I wanted and hitting ‘update’ the {REL bug disappeared from my front end.

My guess is that somewhere (db probably) the multi-relationship field details aren’t being correctly updated by EE when actions like delete are applied.

 Signature 

BridgingUnit | Twitter: MarmaladeToday
Search pagination plugin

Profile
 
 
Posted: 01 August 2008 09:06 AM   [ Ignore ]   [ # 172 ]  
Grad Student
Avatar
Rank
Total Posts:  40
Joined  06-26-2007

Is there any way this relationship plugin can be used with the SAEF form? I have a nice application I would like to use, but I can’t edit this information through my form.

It’s not a relationship field, it’s not a text area, what is it, and how would I put this code into EE?

 Signature 

Emagine Media, Creative Irish Designers

Profile
 
 
Posted: 02 August 2008 04:12 PM   [ Ignore ]   [ # 173 ]  
Summer Student
Total Posts:  17
Joined  02-22-2007

For those of you trying to figure out how to get count working, there’s a very simple fix.

The very last statement in the extension is

return $tagdata;

Right before that line, add this statement

unset($count);

Mark, please let us know if this is in any way a bad idea. For the time being, it looks like it’s working for me.

Profile
 
 
Posted: 03 September 2008 04:58 AM   [ Ignore ]   [ # 174 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  112
Joined  04-21-2008

Mucho Grazias for this Extension!! Works Absolutely Great!

 Signature 

Good Design is What Good Business is all About!

Profile
 
 
Posted: 13 September 2008 05:53 AM   [ Ignore ]   [ # 175 ]  
Summer Student
Total Posts:  5
Joined  02-17-2004
Category 4 - 02 August 2008 04:12 PM

For those of you trying to figure out how to get count working, there’s a very simple fix.

The very last statement in the extension is

return $tagdata;

Right before that line, add this statement

unset($count);

Mark, please let us know if this is in any way a bad idea. For the time being, it looks like it’s working for me.

This doesn’t work for me on 1.6.4 and ext.multi-relation 1.0.6
I added the line in the extension file but the count still remains at “1” for all related entries.

Profile
 
 
Posted: 20 September 2008 12:48 AM   [ Ignore ]   [ # 176 ]  
Summer Student
Total Posts:  8
Joined  07-29-2008

Using MSM on 1.6.4, I can’t seem to get the multi-relationship entries to appear.  There has to be something amiss with the way I’m linking, but everything appears to be correct.  Has anyone had this issue - related entries not appearing in the template output - and been able to resolve it?
Best Regards,
Andres

Profile
 
 
Posted: 22 September 2008 03:10 PM   [ Ignore ]   [ # 177 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  486
Joined  07-12-2005

Has anyone tried out playa yet and compared it to multirelation here?

 Signature 

Technology Consulting
Jobs, apartments, working and moving to Spain.

Profile
 
 
Posted: 23 October 2008 03:51 PM   [ Ignore ]   [ # 178 ]  
Summer Student
Total Posts:  9
Joined  04-29-2008

Will there ver be an answer to the sort questions?
Is there a way to sort the multi_relation_entries? A hack for the extension? A way to get the results and sort them by myself.
Anyone, anyone, the class?

Profile
 
 
Posted: 23 October 2008 03:59 PM   [ Ignore ]   [ # 179 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

I would recommend using Playa over this, as you can change the sort order directly in the control panel. Is there a particular reason you’re still using this extension?

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 23 October 2008 04:04 PM   [ Ignore ]   [ # 180 ]  
Summer Student
Total Posts:  9
Joined  04-29-2008

I was looking for a fast way to link some photos in a gallery to a weblog entry. I am very happy with EE but its a shame that this doesn’t work out of the box. The multirelation extension was the first I found. Can I use playa to link galleries?

Profile
 
 
   
10 of 11
10
 
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: 64905 Total Logged-in Users: 52
Total Topics: 81838 Total Anonymous Users: 27
Total Replies: 440011 Total Guests: 265
Total Posts: 521849    
Members ( View Memberlist )