We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Multi Relation

Development and Programming

Mark Huot's avatar
Mark Huot
587 posts
15 years ago
Mark Huot's avatar Mark Huot

Guys, I’ve been using this extension in 1.6.2 without trouble.

       
Linda A's avatar
Linda A
661 posts
15 years ago
Linda A's avatar Linda A

Thanks for confirming, I am using it rather heavily now, so I was concerned about upgrading. 😊

       
stinhambo's avatar
stinhambo
1,268 posts
15 years ago
stinhambo's avatar stinhambo

Damn, I just got this error - Fatal error: Cannot re-assign $this …public/www/admin/modules/weblog/mod.weblog.php on line 3139

What the hell is that about?

My client saw it and wants answers!

       
stinhambo's avatar
stinhambo
1,268 posts
15 years ago
stinhambo's avatar stinhambo

Ah! My hosting company upgraded to PHP5 and I didn’t know about it!

I just reverted to the original mod.weblog.php code as per this post - http://ellislab.com/forums/viewreply/192755/

       
yassiryahya's avatar
yassiryahya
33 posts
15 years ago
yassiryahya's avatar yassiryahya

Hi guys

I’m a bit stuck here.

I have the code below that will generate around 100+ gallery images related to the entry. Is there any way to use pagination to split them by pages?

{exp:weblog:entries weblog="events"}
                    <h3>{title}</h3>
                    <div id="eventsInfo" class="column span-6">
                    {related_entries id="eventsGalRelate" orderby="random" limit="20"}
                        <div class="eventsShot">
                            <a href="http://{image_url}" rel="lightbox" title="{title}">_                                {thumb_url}_                            </a>
                        </div>
                        <div class="eventsShot">
                            <a href="http://{image_url}" rel="lightbox" title="{title}">_                                {thumb_url}_                            </a>
                        </div>
                        <div class="eventsShot">
                            <a href="http://{image_url}" rel="lightbox" title="{title}">_                                {thumb_url}_                            </a>
                        </div>
                        <div class="eventsShot">
                            <a href="http://{image_url}" rel="lightbox" title="{title}">_                                {thumb_url}_                            </a>
                        </div>
                        <div class="clearfix"></div>
                    {/related_entries}
                    </div>
                {/exp:weblog:entries}

When I add anything other than the multi relation ID, such as limit or sort, the error below will pop up :

Notice: Undefined index: eventsGalRelate” orderby=”random” limit=”20 in /home/domains/public_html/system/extensions/ext.multi_relationship.php on line 471

Notice: Undefined index: field_id_ in /home/domains/public_html/system/extensions/ext.multi_relationship.php on line 478

Thanks in advance!

       
minimal design's avatar
minimal design
356 posts
15 years ago
minimal design's avatar minimal design

Great extension! You just made my life much easier… THANKS! 😊

       
MakDaddy's avatar
MakDaddy
7 posts
15 years ago
MakDaddy's avatar MakDaddy

Real thanks for the extension Mark!

After installing and updating my mod.weblog.php file because of PHP 4, I still have some errors.

I’ve added the multiple relation functionality into my weblog, but EE doesn’t save my relationship entries. So he will save the title, body etc, except my multiple relation entry or entries.

Is this a common problem or do you know how to fix this?

       
minimal design's avatar
minimal design
356 posts
15 years ago
minimal design's avatar minimal design

Just wondering if anyone’s got a fix for the ignored no_related_entries conditional bug yet… I just ran into that myself. Is this extension as part of EE been a feature request already? It’s such a life saver… Thanks!

       
Linda A's avatar
Linda A
661 posts
15 years ago
Linda A's avatar Linda A

I have been using the extension for a while now, and its working quite nicely. Its definitely a very handy solution. 😊

If it would be possible to expand on it in the future, I would love to see a way to 1) limit the number of related entries pulled in and 2) limit which entries are pulled in based on things like post category or gallery custom field.

The reason for 1) is that I use it in an RSS feed and there I would like to only pull in one of the images associated with the post instead of all.

The reason for 2) is that some categories should not have images pulled into the RSS feed or onto the main page, whereas some categories should.

       
Chris Jennings's avatar
Chris Jennings
87 posts
15 years ago
Chris Jennings's avatar Chris Jennings

Mark - thanks for this extension. I have made good use of it here and there … If I want to show just one gallery image in a multi-relationship, I thought I could use”

{related_entries id="publishing_gallery_picture" limit="1"}

in the tag but this throws an error in the latest version 1.06. In your code it looks as if you are checking to see if there is an attribute in the tag called ‘limit’, so, am I right in thinking that this might work? Any thoughts …?

EDIT: I guess the post above is asking for the same thing. Sorry didn’t read carefully enough….

       
Linda A's avatar
Linda A
661 posts
15 years ago
Linda A's avatar Linda A

Is anyone successfully using this extension with conditionals? That is, could you have a conditional inside of the extension tags that checks for the value of a custom field associated with a weblog entry or a gallery entry?

       
Adam Khan's avatar
Adam Khan
319 posts
15 years ago
Adam Khan's avatar Adam Khan
Any word on the incompatibility of this with Quick Save? That makes it a non-starter for me.

Yep, I keep having to count this great extension out because the user can lose their carefully-selected multiple relationships at any time by Quick Saving.

       
james Brown's avatar
james Brown
492 posts
15 years ago
james Brown's avatar james Brown

is there a way to get checkboxes instead of the clunky html multiselect field? the way you have done the category checkoxes would be perfect!

       
stinhambo's avatar
stinhambo
1,268 posts
15 years ago
stinhambo's avatar stinhambo

Another yes please for the {if no_related_entries} bug.

I haven’t seen Mark about for ages!

       
ian Pitts's avatar
ian Pitts
175 posts
15 years ago
ian Pitts's avatar ian Pitts

I can’t get this to work no matter what I do. As soon as I include an ID in the tag, my template bombs, resulting in a completely blank page. I’m at a loss…

       
First 7 8 9 10 11 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.