I am new in umbraco (and in the CMS worldI) and I would like to allow CMS users to set contents in accordions (bootstrap) in their pages. And of course to allow them to add a various number of content tabs in each accordion. Of course I dont want my users to code any html to put their contents in accordions :).
I imagine two ways to do that :
1 - The easiest for users would be to create a kind of "accordion" property to edit on a document type. It is maybe a dream because i don't even see how you could allow users to add a various number of sub-property to an item. I mean how could you put an "add/remove" buttons in the UI to modiffy child contents of a component...
2- Do something like that http://our.umbraco.org/projects/website-utilities/uaccordiontab. Create "Accordion" and "AccordionTab" document types. Allow the user to add them in the content tree under each page using accordions. Generate the bootstrap-html code using a macro in the template to create the n accordions on the page.
Providing an accordion component to users
Hi everynone.
I am new in umbraco (and in the CMS worldI) and I would like to allow CMS users to set contents in accordions (bootstrap) in their pages. And of course to allow them to add a various number of content tabs in each accordion. Of course I dont want my users to code any html to put their contents in accordions :).
I imagine two ways to do that :
1 - The easiest for users would be to create a kind of "accordion" property to edit on a document type. It is maybe a dream because i don't even see how you could allow users to add a various number of sub-property to an item. I mean how could you put an "add/remove" buttons in the UI to modiffy child contents of a component...
2- Do something like that http://our.umbraco.org/projects/website-utilities/uaccordiontab. Create "Accordion" and "AccordionTab" document types. Allow the user to add them in the content tree under each page using accordions. Generate the bootstrap-html code using a macro in the template to create the n accordions on the page.
3- Your bright and smart solution to post below.
Thank you !
(using umbraco 7)
is working on a reply...