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

related_entries limit=1, some hook or extension required

Development and Programming

Qrat's avatar
Qrat
40 posts
16 years ago
Qrat's avatar Qrat

I reviewed all similar messages, but didn’t find decision.

Is it possible

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

I mean, who to make it posible? =)

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

Qrat, there can only be one related entry per ID, are you using a multi-relationship extension?

       
Qrat's avatar
Qrat
40 posts
16 years ago
Qrat's avatar Qrat

yes, using

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

The limit would have to come from the extension then, I’ll move this to the extensions forum for you.

       
Qrat's avatar
Qrat
40 posts
16 years ago
Qrat's avatar Qrat

Thanks, Lisa. I’ll be glad if somebody could solve this.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Hi Qrat,

If you can tell us which extension it is that you are using then that will help a lot otherwise we would just be left guessing.

I’m sure that armed with that information we should be able to point you in the right direction or the correct developer in order for you to contact them regarding this.

Best wishes,

Mark

       
Qrat's avatar
Qrat
40 posts
16 years ago
Qrat's avatar Qrat

Hi Mark. I’m using playa 1.3.3

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Ah right, thanks.

I’m pretty sure that Playa < 2.0 doesn’t have a limit=”“ parameter in the actual tag. You can limit it in the Publish area but that’s not really what you are after though. Version 2 I can see definitely has this parameter but that is a paid version. I’m not sure if Brandon is still supporting the old version seeing as he now has this paid version online though. Might want to contact him directly about it perhaps?

You could do a limit using PHP on the template but that would only limit what is shown as opposed to what is initially pulled back using the tag. Depending on what you are doing that may or may not be a possibility though.

Hope some of that helps a bit.

Best wishes,

Mark

       

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.