Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
hello - is there a parameter to add to this editable type that will allow me to show the 2nd and any subsequent panels open by default? I thought this was something that changed with Couch 2, but after much searching can't find anything. Was I imagining this?!
Hello :)

The parameter you are looking for is collapsed.
As an example, the following group will always be shown open regardless of its position -
Code: Select all
<cms:editable name='prop_uploads' label='Uploads' desc='Your main uploads' type='group' collapsed='0'>

    <cms:editable name='prop_image' label='Image' desc='Upload main image here' show_preview='1' type='image' />

    <cms:editable name='prop_document' label='Downloadable File' desc='Upload the file here' type='file' />
       
</cms:editable>

Does this help?
thanks @kk :) - just what I wanted - glad I wasn't imagining it! I just searched for 'collapsed' in the forum and found the section you wrote on groups - I can implement the new method as well now - so much neater!
3 posts Page 1 of 1