MarcC Posted January 29, 2013 Posted January 29, 2013 I have a client who will be using repeaters to keep a simple set of dated notes about a page. So, you open a page, go to the "Notes" tab and you have a repeater field that has a date, choice of author name, and a bodytext field. Is there a way to display the date of the note (if it is not empty) in the header for the collapsed repeater items? Also, is there a way to collapse all but the latest repeater entry by default?
ryan Posted January 29, 2013 Posted January 29, 2013 Not currently. Though I suppose you could create a module to hook the relevant components to do this. But the custom header name has come up as a repeated request, so this will be added pretty soon. The ability to have the items collapsed has also come up before, though not necessarily to have some collapsed and some not, but I'll look into it. 1
MarcC Posted January 29, 2013 Author Posted January 29, 2013 Thanks, Ryan. I'm looking forward to the new header feature, but it's probably something that the client can live without for now.
Macrura Posted January 6, 2015 Posted January 6, 2015 @richard cook - i think what you want to do might be achievable with some jQuery; have you considered using Admin Custom Files, and then using jquery to collapse the repeaters, and also add the required content where needed?
netcarver Posted January 6, 2015 Posted January 6, 2015 @MarcC, @Richard Cook This might not be exactly what you want but, not long ago, repeaters gained the ability for you to give them custom title strings by hooking the renderRepeaterLabel() method. Can that get you any closer to your goals? 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now