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.
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…
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.