Example template:
{excerpt:hidden=true}
@EXCERPTData|textarea(5x10)@
{excerpt}
When using this template, the textarea doesn't show up and after clicking 'Insert Variables' it creates an empty page
Using the same template without 'hidden=true', the textarea shows up, but the the 'excerpt' is not hidden
I don't think there's any way of achieving it with standard templates, but you can certainly do it with the Scaffolding Plugin. Something like this:
{hidden-data}
{excerpt-data:Excerpt|type=area|width=400px|height=5em}
{hidden-data}
I guess an alternative would be using {hide-if} from the Visibility Plugin (or the similar {builder-hide} macro from Adaptavist's Theme Builder), something like so:
{hide-if:action=view}
{excerpt:hidden=true}
@EXCERPTData|textarea(5x10)@
{excerpt}
{hide-if}
Hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.