Forum for discussing general topics related to Couch.
5 posts Page 1 of 1
hi

This works
<cms:editable name='term1_date' type='nicedit' />

but when i put this, the color change not working / not saving..
<cms:editable name='term1_date' type='nicedit' buttons='forecolor, italic, bold' />

please advice thanks,
Hi,

I used your code on my setup and it is working just fine for me.

Have you made sure to visit the template as super-admin for the change to persist?

As a last resort, and if the pages are not too many, please try deleting the region and then recreating it with the custom button values.
I think that should fix it.
Thanks for quick response. but i still have the problem, heres my code:

Code: Select all
<cms:template title='Calendar'>

   <cms:editable name='term1_title' type='text' />
   
   <cms:repeatable name='term1' >
      <cms:editable name='term1_date'  type='nicedit' buttons='forecolor, italic, bold' height='20' maxheight='100'/>
      <cms:editable name='term1_text'  type='nicedit' buttons='forecolor, italic, bold' height='20' maxheight='100'/>
   </cms:repeatable>
   
   <cms:editable name='term2_title' type='text' />
   
   <cms:repeatable name='term2' >
      <cms:editable name='term2_date'  type='nicedit' buttons='forecolor, italic, bold' height='20' maxheight='100'/>
      <cms:editable name='term2_text'  type='nicedit' buttons='forecolor, italic, bold' height='20' maxheight='100'/>
   </cms:repeatable>
   
   <cms:editable name='term3_title' type='text' />
   
   <cms:repeatable name='term3' >
      <cms:editable name='term3_date'  type='nicedit' buttons='forecolor, italic, bold' height='20' maxheight='100'/>
      <cms:editable name='term3_text'  type='nicedit' buttons='forecolor, italic, bold' height='20' maxheight='100'/>
   </cms:repeatable>
   
</cms:template>



html:
Code: Select all
<div class="col-sm-12 wow fadeInDown">
                    <h3 style="text-align: center; font-size: 34px; color: #0066FF;">Term 1 <br>
                    <span style="font-size:22px; color: #339900"><cms:show term1_title /></span></h3>
                   
                   <table class="table table-bordered" style="color:#000000;">
                    <cms:show_repeatable 'term1' orderby='modification_date' order='desc'>
                      <tr>
                         <th width="40%"><cms:show term1_date /></th>
                         <th><cms:show term1_text /></th>
                      </tr>
                    </cms:show_repeatable> 

                    </table>

                    <h3 style="text-align: center; font-size: 34px; color: #0066FF;">Term 2 <br>
                    <span style="font-size:22px; color: #339900"><cms:show term2_title /></span></h3>
                   
                    <table class="table table-bordered" style="color:#000000;">
                    <cms:show_repeatable 'term2' orderby='modification_date' order='desc'>
                      <tr>
                         <th width="40%"><cms:show term2_date /></th>
                         <th><cms:show term2_text /></th>
                      </tr>
                    </cms:show_repeatable> 
                     
                    </table>


                    <h3 style="text-align: center; font-size: 34px; color: #0066FF;">Term 3 <br>
                    <span style="font-size:22px; color: #339900"><cms:show term3_title /></span></h3>
                   
                    <table class="table table-bordered" style="color:#000000;">
                    <cms:show_repeatable 'term3' orderby='modification_date' order='desc'>
                      <tr>
                         <th width="40%"><cms:show term3_date /></th>
                         <th><cms:show term3_text /></th>
                      </tr>
                    </cms:show_repeatable> 
                     
                    </table>

                </div>
Once again - tried the very code you pasted and it is working as I think it should work.
Could you please clarify exactly what does not seem to work for you?
hi,

the forecolor on nicedit doesn't work, you can change color but if you save, it gets back to black..

:shock: ,
5 posts Page 1 of 1