Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Basically I need to disable/hide/remove the "Save" and "View" buttons in some templates due to the fact that they are irrelevant there.

One of these situations is where I use a template for displaying Google Analytics Stats :

Image

Can this be achieved ?
Thanks :)
Hi,

I think you can try doing that by 'injecting' your own CSS rules into the page through editable region of type 'message' (the same that you are using to show the IFRAME).

Hope it helps.
KK wrote: Hi,

I think you can try doing that by 'injecting' your own CSS rules into the page through editable region of type 'message' (the same that you are using to show the IFRAME).

Hope it helps.


I have thought of that but couldn't find the button class to target in my css.

*UPDATE
I was targeting class .button instead of a.button. This works:

<cms:editable name='hide_button' type='message'>
<style>
a.button{
display:none;
}
</style>
</cms:editable>
3 posts Page 1 of 1
cron