Hi all,
I'm trying to use Couch to create a simple way for my colleague to add maintenance events to a public website. It's literally, one page, but each maintenance item is separate. I've set the page to be clonable so each item has its own input under "Maintenance Events".
Each maintenance event will be a separate entry here:

And this is the entry I'm testing with:

This is my code in the head tag:
But, for example, this code:
Any ideas what's wrong?
I'm trying to use Couch to create a simple way for my colleague to add maintenance events to a public website. It's literally, one page, but each maintenance item is separate. I've set the page to be clonable so each item has its own input under "Maintenance Events".
Each maintenance event will be a separate entry here:

And this is the entry I'm testing with:

This is my code in the head tag:
- Code: Select all
<cms:template title='Maintenance Events' clonable='1'>
<cms:editable name='maintenance_description' type='richtext' />
<cms:editable
name="maintenance_by"
label="Maintenance By"
desc="Who's performing this maintenance?"
opt_values='Custodian | Third Party'
type='dropdown'
/>
<cms:editable
name="maintenance_status"
label="Status"
desc="What's the status of this maintenance?"
opt_values='Scheduled | Open | In Progress'
type='dropdown'
/>
<cms:editable name='start_date' label='Start Date'
desc='format DD/MM/YY HH:MM - Please use 24 hour times.'
type='text' />
<cms:editable name='end_date' label='End Date'
desc='format DD/MM/YY HH:MM - Please use 24 hour times.'
type='text' />
<cms:editable name='impacted_services' label='Impacted Services'
desc='Services which will go down.'
type='text' />
<cms:editable name='expected_downtime' label='Expected Downtime'
desc='How long impacted services are expected to be down for.'
type='text' />
<cms:editable name='at_risk_services' label='At Risk'
desc='At risk services.'
type='text' />
</cms:template>
But, for example, this code:
- Code: Select all
<h6 class="text-center"><strong>Maintenance By</strong><br> <cms:show maintenance_by /></h6>
Any ideas what's wrong?