Hello,
I would like to allow the user to show regions data inside a text area field.
Here's the line for that field:
If I enter in the text area field :
And click save, it will save it as is. But if I try to display that text area field, like this:
It will show:
It won't display the "name" region, even if there is something in that "name" region in the admin for that page.
If I use a "richtext" field instead, it will show:
But of course, I don't want it to show "<cms:show name/>", I want the content of that "name" field.
My guess is that it's not possible by default. Is there any way to achieve this?
Thanks!
I would like to allow the user to show regions data inside a text area field.
Here's the line for that field:
- Code: Select all
<cms:editable name='content' label='Content test' type='textarea' no_xss_check='1'/>
If I enter in the text area field :
- Code: Select all
Hello <cms:show name/>
And click save, it will save it as is. But if I try to display that text area field, like this:
- Code: Select all
<cms:show content/>
It will show:
- Code: Select all
Hello
It won't display the "name" region, even if there is something in that "name" region in the admin for that page.
If I use a "richtext" field instead, it will show:
- Code: Select all
Hello <cms:show name/>
But of course, I don't want it to show "<cms:show name/>", I want the content of that "name" field.
My guess is that it's not possible by default. Is there any way to achieve this?
Thanks!