Template Select for FieldFrame
It would be nice if we included as the field settings a template multiselect that limited the option of the dropdown…you know you wanna fork it! Added in v1.1
In tandem with that, it would be nice to have an extension that added a template_name
column to the templates table. Then if present, you could display that instead of template_group/template
.
Useful for on-demand embedding within page entries.
Examples
{exp:weblog:entries weblog="pages" limit="1" status="not closed"}
{cf_pages_body}
{if cf_pages_embed_after}{embed="{cf_pages_embed_after}"}{/if}
{/exp:weblog:entries}
Or try passing embed variables using it in a matrix!
{exp:weblog:entries weblog="pages" limit="1" status="not closed"}
{cf_pages_body}
{cf_pages_embed_after}
{embed="{template}" embed_var="{cell_2}"}
{/cf_pages_embed_after}
{/exp:weblog:entries}