EllisLab text mark
Advanced Search
4 of 14
4
   
Multi Relation
Posted: 05 August 2007 05:18 PM   [ Ignore ]   [ # 55 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-05
632 posts

@jacob is this still not working for you?  i’ve implemented it on 1.6 and php5 a few times and it seems to work Ok.

 Signature 
 
Posted: 05 August 2007 10:35 PM   [ Ignore ]   [ # 56 ]   [ Rating: 0 ]
Avatar
Joined: 2006-02-02
45 posts

@Mark,

Honestly, I got to a point where I just disabled the extension and moved my data to another day of doing things (multiple fields, bleechh). I haven’t tried it in a while, so I can’t say if it is working or not.

Hopefully, I’ll have a chance to try again soon, and I will keep you posted. Thanks for checking on this.

 
Posted: 05 August 2007 11:07 PM   [ Ignore ]   [ # 57 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-05
632 posts

Thanks, let me know how it goes.  I missed your last post and only just happened upon it today.  I’ll look forward to any updates.

 Signature 
 
Posted: 08 August 2007 11:56 PM   [ Ignore ]   [ # 58 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-26
1664 posts

I couldn’t exactly find it in this thread, but what is new about 1.0.5? The last version I had was 1.0.4.

 Signature 

Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

 
Posted: 09 August 2007 04:51 AM   [ Ignore ]   [ # 59 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-29
38 posts

I’m running ExpressionEngine 1.6.0 - Build: 20070627 with PHP version 4.4.4 and got this error. I applied the hack to mod.weblog.php as well.

Any clue?

NoticeUndefined offset1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
Undefined indexfield_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
Undefined offset1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
Undefined indexfield_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
Undefined offset1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
Undefined indexfield_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
Undefined offset1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
Undefined indexfield_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
Undefined offset1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
Undefined indexfield_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
Undefined offset1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
Undefined indexfield_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
Undefined offset1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
Undefined indexfield_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
Undefined offset1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
Undefined indexfield_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476 
 Signature 

Adam Stacoviak
Handcrafted

 
Posted: 09 August 2007 08:54 AM   [ Ignore ]   [ # 60 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-05
632 posts

@Image202 —I think version 1.0.6 should fix the notices you’re seeing.

 Signature 
 
Posted: 09 August 2007 01:43 PM   [ Ignore ]   [ # 61 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-29
38 posts

Thanks for the quick reply Mark!

That certainly took care of the errors, but now I’m seeing this. I followed the same steps as before, implemented the hack, and enabled the extension.

{REL[motion_relations]5gzIjWWfREL} 
 Signature 

Adam Stacoviak
Handcrafted

 
Posted: 09 August 2007 01:57 PM   [ Ignore ]   [ # 62 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-04
41 posts

Mark this extension is wonderful.

And the update fixed a little problem i had yesterday.

The problem was an error message
“Notice: Undefined variable: field_type in /usr/home/web/user/system/cp/cp.publish_ad.php on line 7311”

again,

Thanks

 Signature 

I like smiling people grin
twitter.com/mikeverbruggen

 
Posted: 09 August 2007 02:01 PM   [ Ignore ]   [ # 63 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-05
632 posts

Image202 did you try the fix mentioned here for php 4? http://ellislab.com/forums/...

 Signature 
 
Posted: 09 August 2007 02:44 PM   [ Ignore ]   [ # 64 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-29
38 posts
Mark Huot - 09 August 2007 06:01 PM

Image202 did you try the fix mentioned here for php 4? http://ellislab.com/forums/...

Yes that fix was applied.

 Signature 

Adam Stacoviak
Handcrafted

 
Posted: 09 August 2007 02:46 PM   [ Ignore ]   [ # 65 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-29
38 posts

There are 7 entries in the weblog that I’m adding the multi-relation selections to. I updated my template code to show this new relational data, and before any of the entries have been updated with relations, that code I mention below is shown. It’s also shown for entries that have been updated to include relation selections.

{REL[motion_news_relations]hREicj3SREL} 

Does that help at all?

 Signature 

Adam Stacoviak
Handcrafted

 
Posted: 09 August 2007 03:01 PM   [ Ignore ]   [ # 66 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-05
632 posts

and if you select a relation does the code still show up?

 Signature 
 
Posted: 09 August 2007 03:02 PM   [ Ignore ]   [ # 67 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-29
38 posts

Yes

 Signature 

Adam Stacoviak
Handcrafted

 
Posted: 09 August 2007 04:05 PM   [ Ignore ]   [ # 68 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-29
38 posts

If you’re open I could give you access to the install to trouble shoot.

I’m pausing development till I hear back from you, so I can roll back the db in case this doesn’t get sorted out in time.

 Signature 

Adam Stacoviak
Handcrafted

 
Posted: 14 August 2007 10:00 AM   [ Ignore ]   [ # 69 ]   [ Rating: 0 ]
Joined: 2007-06-29
3 posts

I’ve got the same problem as Image202. I’m running PHP5 btw and version 1.0.6 of your extension.

It works for some related entries after I changed some code in your extension in the modify_template method:

foreach($TMPL->related_data as $key => $rel_data{

    
if(!isset($$reference->cfields)) continue;
            
    
$field_id = $$reference->cfields[$rel_data['field_name']];

    ...

But other related entries on the same page give i.e. {REL[35][vorm_locaties]tJ3dFV96REL}

 
4 of 14
4