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

Next/Previous field count variable for Fluid Fields

Feature Requests

Juan Sbaraglia Pinkus's avatar
Juan Sbaraglia Pinkus
3 posts
5 days ago
Juan Sbaraglia Pinkus's avatar Juan Sbaraglia Pinkus

Im trying to get the count of the next and previous fields inside a Fluid Field. In the documentation there is only a variable to count the current field (E.g.: fluid_content:count), and also a variable to get the next and previous field_name or field_type (E.g.: next_field_name, prev_field_type). I’m wondering why isn’t there any variable to get the next or previous field count (E.g.: next_field_count), as there is a variable with that same function for rows in Grid Fields, but for some reason it is not available for Fluid Fields, I think it would be a useful variable.

Link to the actual documentation for Fluid Field variables: https://docs.expressionengine.com/latest/fieldtypes/fluid.html#variables

       
Andy McCormick's avatar
Andy McCormick
295 posts
about 4 days ago
Andy McCormick's avatar Andy McCormick

Juan, please open a Feature Request on GitHub with your idea for consideration in future releases.

Though I think what you want is really a tag pair similar to Grid’s next_row, which allows you to access more than just a count for the next row being displayed. Accessing the count only isn’t of much value as it will always be just 1 more than the current field being displayed.

       

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.