I'm wondering why "content tags" inside a "global content block" do not render.
And if it possible to add this feature in the future?
Rendering content tags inside global content blocks
Re: Rendering content tags inside global content blocks
It sounds like you're on a really old version, GCB's have been replaced with generic templates, and wouldn't have any issues like that.
Not getting the answer you need? CMSMS support options
Re: Rendering content tags inside global content blocks
Yes sorry that's what I meant.
But they don't work either.
What I meant is that content tags inside these gcb or general blocks do not show up inside the content manager. If I instead use smarty blocks it works.
But they don't work either.
What I meant is that content tags inside these gcb or general blocks do not show up inside the content manager. If I instead use smarty blocks it works.
Re: Rendering content tags inside global content blocks
Just define them in the page template first, assigned to a variable, then you can display them in the generic template.
In your page template:
In your generic template:
In your page template:
Code: Select all
{$textblock="{content block='foo'}" scope=global}
{include file='cms_template:mytemplate'}
Code: Select all
{$textblock}
Not getting the answer you need? CMSMS support options