I use the ext on 2 sites. The mod to remove the REL code as shown below worked on 1 site, but not on the other.
{REL[51][directors]B94dBcBIREL}{REL[52][directors]B94dBcBIREL}{REL[53][directors]B94dBcBIREL}
So, I still get this after modifying my php file as described in a previous post. What should I check next ?
EDIT: NEVERMIND … MY BAD! SORRY 😉
Chris, I believe you can already unselect entries. If you only have one entry selected (and if you have multiple, click on one to unselect the rest), then hold ctrl (command on mac) and click on that one selection to unselect it. When you don’t have any entries selected, you can use something like:to check if the field is empty or not. Of course my field in this case is named “products.” I hope that helps.{if products != ""}
Jacob,
I used:
{if blog_related_posts != 0}
<ul>
{related_entries id="blog_related_posts"}
<li>{title}</li>
{/related_entries}
</ul>
{/if}
to test if there was no entries. This also removed the {rel} gibberish which was outputted if there was no related post.
So my little widget looks like:
<ul>
{exp:weblog:entries weblog="blog" disable="" }
<li>{title}
{if blog_related_posts != 0}
<ul>
{related_entries id="blog_related_posts"}
<li>{title}</li>
{/related_entries}
</ul>
{/if}
</li>
{/exp:weblog:entries}
</ul>
Are we totally sure it isn’t possible? Would be nice to have it work, that’s for sure.
I had a short conversation with Mark H. in January ‘07 in which he seemed to indicate that it would be possible to rewrite multi-relation to work with quick save. When he had time. Which I’m sure he doesn’t have much of. 😊
Are we totally sure it isn’t possible? Would be nice to have it work, that’s for sure.
Well, Mark would obviously be the authority.
I looked at the code and it seemed to me that it would be impossible for it to work with Quick Save because Multi Relationship stores its data using the ‘submit_new_entry_end’ hook, and as far as I can tell, that hook is never invoked on a Quick Save. It seemed to me that it might be possible, using ‘submit_new_entry_start’, to make it work when updating an entry, vs. creating a new entry. I believe the only reason Multi Relationship needs to wait for ‘submit_new_entry_end’ to store the data is so that it has the entry_id, but for existing entries I think you could get the entry_id at the time of ‘submit_new_entry_start’.
Just for reference:
I get the following error with this extension in ee 1.6:
Undefined variable: field_type in [path to system here]/cp/cp.publish_ad.php on line 7197[ish]
I notice that the solution is here:
http://ellislab.com/forums/viewthread/38843/#181791
And that obviously, it’s still a potential problem.
For me though it appeared when the multi relationship was added as the first custom field for a paticular weblog. Once I added others, the error message disappeared.
Mark & co., It’s worth noting that the odd {REL} behavior apparently sometimes happens even if you ARE running PHP 5 – i’m on 5.2.1, and had the same issue. However, your fix to mod.weblog works for me too! Just thought i’d contribute that you might try the fix even if you’re NOT on PHP 4, if you’re having the issue! Adrienne Travis
I never had this issue running PHP 5 (5.2.2) before upgrading to EE 1.6.0. After upgrading, I tried this fix, but it caused me to receive a blank page.
The only way I could fix it was to change my server to use PHP 4 and apply the hack.
Is there any way to get this extension to work on PHP 5 using EE 1.6.0?
Thanks in advance.
@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.
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?
Notice: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469
Notice: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476
Notice: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469
Notice: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476
Notice: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469
Notice: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476
Notice: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469
Notice: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476
Notice: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469
Notice: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476
Notice: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469
Notice: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476
Notice: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469
Notice: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476
Notice: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469
Notice: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.