Hello everyone? I have tied myself in knots trying to sort this one out.
Basically, my client wants an event list with repeatable areas and a varying list of speakers. So, can anyone help acheive the following:
1) A speakers page with image, speagers name and biog. Does it need to be clonable/or nested etc.
2) An events page with repeatable regions (I've done this). But, I want to add a multi-selection dropdown with the speakers names from the speakers page into the repeatable admin area. So the clients selects the speakers and they show in the output – see below).
3) Display each event with all relevant speakers selected from the dropdown list.
Thanks in advance.
---------------------------------------------------------
Speakers page
---------------------------------------------------------
Events page
----------------------------------------------------------------
Events Display – I've left out the formatting for clarity
Basically, my client wants an event list with repeatable areas and a varying list of speakers. So, can anyone help acheive the following:
1) A speakers page with image, speagers name and biog. Does it need to be clonable/or nested etc.
2) An events page with repeatable regions (I've done this). But, I want to add a multi-selection dropdown with the speakers names from the speakers page into the repeatable admin area. So the clients selects the speakers and they show in the output – see below).
3) Display each event with all relevant speakers selected from the dropdown list.
Thanks in advance.
---------------------------------------------------------
Speakers page
- Code: Select all
<cms:template title='Speakers' clonable='1' />
<cms:editable
name='speakerimage'
label='speaker Image'
type='image'
order='1'
hidden='1'>
</cms:editable>
<cms:editable
name='speakername'
label='Speaker Name'
type='text'
order='1'
hidden='1'>
</cms:editable>
<cms:editable
name='speakerbio'
label='Bpeaker Biography'
type='richtext'
order='2'
hidden='1'>
</cms:editable>
---------------------------------------------------------
Events page
- Code: Select all
<cms:template title='Events' />
<cms:repeatable name='events' label="Events" order='5' stacked_layout='1' >
<cms:editable
name='eventtitle'
label='Event Title'
type='text'
order='6'
hidden='1'>
</cms:editable>
<cms:editable
name='eventimage'
label='Event Image'
type='image'
order='7'
hidden='1'>
</cms:editable>
<cms:editable
name='eventdescription'
label='Event Description'
type='richtext'
order='8'
hidden='1'>
</cms:editable>
-- This is where I would like the multi-selection dropdown
<cms:editable
name='eventdates'
label='Event Dates'
type='richtext'
order='12'
hidden='1'>
</cms:editable>
</cms:repeatable>
----------------------------------------------------------------
Events Display – I've left out the formatting for clarity
- Code: Select all
<cms:show eventtitle />
<cms:show_repeatable 'events' />
<cms:show eventimage />
<cms:show eventdescription />
-- Show all the selected speakers for this event
<cms:show eventdates />
</cms:show_repeatable>