Hi,
I have a template that has multiple content blocks, like {content block='foo'}, {content block='bar'}, etc.
When editing a page that uses this template, there is a wysiwyg editor for each content block, plus one for the default content block. But I didn't use a simple {content} in the template, so that wyiwyg editor is useless. How can I avoid that from showing?
Thanks,
Alejandro
How to hide default content textarea when using blocks?
Re: How to hide default content textarea when using blocks?
try {content oneline='true' wysiwyg='false'} instead ?
Re: How to hide default content textarea when using blocks?
That didn't work. The textarea for the default content block is still showing.Pierre M. wrote: try {content oneline='true' wysiwyg='false'} instead ?
Re: How to hide default content textarea when using blocks?
alejandro,
what is the name of the block showing, besides.... Some modules require the default content-block. So it is advised to use additional content-blocks, but ALWAYS use the default {content}, with or without its wysiwyg...
Ronny
what is the name of the block showing, besides.... Some modules require the default content-block. So it is advised to use additional content-blocks, but ALWAYS use the default {content}, with or without its wysiwyg...
Ronny
Re: How to hide default content textarea when using blocks?
Ok, understood. I'll have to accommodate so that one of the other non-default named content blocks be the default block. Thanks.RonnyK wrote: alejandro,
what is the name of the block showing, besides.... Some modules require the default content-block. So it is advised to use additional content-blocks, but ALWAYS use the default {content}, with or without its wysiwyg...
Ronny
Re: How to hide default content textarea when using blocks?
You can also put the content tags in HTML quotes, so even if a user types something in there, it will not display on the site.
So in your template:
S
So in your template:
S
Re: How to hide default content textarea when using blocks?
Actually not using the default {content} tag at all in the template would avoid showing anything the user writes in the default content placeholderspcherub wrote: You can also put the content tags in HTML quotes, so even if a user types something in there, it will not display on the site.
So in your template:
S

Re: How to hide default content textarea when using blocks?
I am not sure if that is possible. I've not doe that recently, but there was some error message about the template missing the content block.
S
S
Re: How to hide default content textarea when using blocks?
Your just asking for trouble if you don't use the {content} tag sorry it's just the way the system works, if you use the newest ver. you can start the page w/o the editor by changing the settings in the tiny admin page...