Hi guys,
Ive been using the cms for a while now on a couple of sites and have to say - Im loving it - So simple and means I can build as I would normally and then add in the cms.
Right, my current site im working on, im needing to show a FAQ section and a link to a testimonial but only on certain pages.
The page is a cloned template and I included a tick boxes with the following options: Testimonials / FAQS Both and had thought of using the <cms:if > to show the sections based on the options selected.
Now, this is where im struggling. I can get the FAQ section to show on its own, I can get the testimonials to show on its own or nothing at all.. I can't seem to get both displayed when both are selected in the CMS admin....
HELP!!
This was what I have tried so far.
HTML Code
<cms:if faq ='Testimonials'>
<a href="testimonials.php">Testimonial on this course from a parent</a>
</cms:if>
<cms:if faq ='FAQs'>
<!--FAQ Accordion-->
<h1> FAQ</h1>
</cms:if>
<cms:if (faq eq 'Testimonials') && (faq eq 'FAQs') >
<a href="testimonials.php">Testimonial on this course from a parent</a>
</cms:if>
Tags:
<cms:template title='Workshop template' label='Workshop Title' clonable='1' dynamic_folders='1'>
<cms:editable name='group_content' label='Content' desc='Your Content and Description' type='group' />
<cms:editable name='short_desc' label='Short Description'
desc='Enter short desciption of News content. This shows for each listing on the News page. Limited to 100 characters.'
maxlength='100'
type='text'
group='group_content'/>
<cms:editable name='workshop_content' label='Workshop Content' desc='Enter the Workshop Content into here' type='richtext'group='group_content'/>
<cms:editable name='faq_testimonials' label='FAQs & Testimonials' desc='Select FAQ showing and also Testimonials on workshop page' type='group'/>
<cms:editable
name="faq"
label="FAQ Select"
desc="Select the options to display on Workshop page. Either Testimonials , FAQ's, Both or neither as required."
opt_values='Testimonials|FAQs | No'
type='checkbox'
group='faq_testimonials'
/>
</cms:template>
Anyone got any ideas as to what im doing wrong?
Thanks and sorry for the long winded post!
Ryan
Ive been using the cms for a while now on a couple of sites and have to say - Im loving it - So simple and means I can build as I would normally and then add in the cms.
Right, my current site im working on, im needing to show a FAQ section and a link to a testimonial but only on certain pages.
The page is a cloned template and I included a tick boxes with the following options: Testimonials / FAQS Both and had thought of using the <cms:if > to show the sections based on the options selected.
Now, this is where im struggling. I can get the FAQ section to show on its own, I can get the testimonials to show on its own or nothing at all.. I can't seem to get both displayed when both are selected in the CMS admin....
HELP!!
This was what I have tried so far.
HTML Code
<cms:if faq ='Testimonials'>
<a href="testimonials.php">Testimonial on this course from a parent</a>
</cms:if>
<cms:if faq ='FAQs'>
<!--FAQ Accordion-->
<h1> FAQ</h1>
</cms:if>
<cms:if (faq eq 'Testimonials') && (faq eq 'FAQs') >
<a href="testimonials.php">Testimonial on this course from a parent</a>
</cms:if>
Tags:
<cms:template title='Workshop template' label='Workshop Title' clonable='1' dynamic_folders='1'>
<cms:editable name='group_content' label='Content' desc='Your Content and Description' type='group' />
<cms:editable name='short_desc' label='Short Description'
desc='Enter short desciption of News content. This shows for each listing on the News page. Limited to 100 characters.'
maxlength='100'
type='text'
group='group_content'/>
<cms:editable name='workshop_content' label='Workshop Content' desc='Enter the Workshop Content into here' type='richtext'group='group_content'/>
<cms:editable name='faq_testimonials' label='FAQs & Testimonials' desc='Select FAQ showing and also Testimonials on workshop page' type='group'/>
<cms:editable
name="faq"
label="FAQ Select"
desc="Select the options to display on Workshop page. Either Testimonials , FAQ's, Both or neither as required."
opt_values='Testimonials|FAQs | No'
type='checkbox'
group='faq_testimonials'
/>
</cms:template>
Anyone got any ideas as to what im doing wrong?
Thanks and sorry for the long winded post!
Ryan