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

Grid seems to stop short

How Do I?

Rick Lecoat's avatar
Rick Lecoat
128 posts
10 years ago
Rick Lecoat's avatar Rick Lecoat

I’ve got a Grid field used to store glossary information. I’m using it to output two blocks of content using two separate channel:entries loops: firstly the main content consisting of glossary term/definition pairs (eg. banana: a tasty fruit). And, secondly, a list of A-Z links that will jump the user down the page to the start of the appropriate letter. It’s all working fine except that in both content blocks the output mysteriously stops after ‘W’. In fact, although there are two rows starting with ‘W’, only the first row of ‘W’ is output; the second is not. X, Y and Z are not output at all in either channel:entries loop.

Neither my C:E loop nor the grid loop itself have any limiting parameter applied; can anyone think of a reason that the grid tag might not be giving up all of its contents?

Cheers.

       
Rick Lecoat's avatar
Rick Lecoat
128 posts
10 years ago
Rick Lecoat's avatar Rick Lecoat

Solved. Found the answer here: http://expressionengine.stackexchange.com/questions/20710/grid-not-displaying-all-the-rows I didn’t know about EE adding an implicit ‘limit=”100”’ if you don’t explicitly specify a limit on a looping tag. (I think this might be the first time I’ve ever had over 100 entries or rows to load). Checking the docs I see that it is mentioned under the ‘limit’ parameter for channel:entries, but the limit param for Grid doesn’t mention it. Perhaps that’s something for the next time the docs get updated? Anyway, now all I have to do is try and remember this information for the next time…

       

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.