I'd like to set up a document type with a property that would contain a list of items. Very similar to related links or tags, but each item is actually just a text string. Is this possible? I don't want HTML in the content so creating a UL using the rich text editor is not an option. I just need a collection of text strings that I can iterate through. Any ideas?
I think you want to look at UltimatePicker. This would allow you to create content nodes that are then used as the list items. I'm 'think' UltimatePicker saves the node name against the page, but if not a simple bit of xslt would get you the name from the node id.
Failing that you could just create you're own datatype. There's no coding required. Just go to the developer section, create a new datatype. Set it to a checkbox list type datatype, then add your items in the field below. Remeber to hit 'enter' after each option you put in as there's no 'add' or 'save' button for some reason.
Data Type for a List of Items
I'd like to set up a document type with a property that would contain a list of items. Very similar to related links or tags, but each item is actually just a text string. Is this possible? I don't want HTML in the content so creating a UL using the rich text editor is not an option. I just need a collection of text strings that I can iterate through. Any ideas?
Thanks.
I think you want to look at UltimatePicker. This would allow you to create content nodes that are then used as the list items. I'm 'think' UltimatePicker saves the node name against the page, but if not a simple bit of xslt would get you the name from the node id.
Failing that you could just create you're own datatype. There's no coding required. Just go to the developer section, create a new datatype. Set it to a checkbox list type datatype, then add your items in the field below. Remeber to hit 'enter' after each option you put in as there's no 'add' or 'save' button for some reason.
Cheers,
Chris
What about multipleline textbox, which you then split by linebreak?
is working on a reply...