An open API service indexing awesome lists of open source software.

https://github.com/timkelty/tbk.template_select.ee_addon

FieldFrame fieldtype that displays your templates in a select list. Useful for on-demand embedding.
https://github.com/timkelty/tbk.template_select.ee_addon

Last synced: about 1 year ago
JSON representation

FieldFrame fieldtype that displays your templates in a select list. Useful for on-demand embedding.

Awesome Lists containing this project

README

          

h1. Template Select for FieldFrame

Useful for on-demand embedding within page entries.

h2. Added in 1.2

* *All Templates* checkbox to ignore selections and always display all templates
* -Can be required/unrequired (not supported if using in a matrix)- Not anymore, not sure why...
* Language file, cleanup
* *display_tag* for easier embeds

h2. Examples

You can now create an embed out of your field like this:



{my_field_name embed="y" some_var_to_pass="foo" another_embed_var="bar"}

or to return just the string of your *group/template*, do not include the @embed@ paramater.

h3. Or try passing embed variables using it in a FF 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}

h2. Thanks

* Big thanks to "Brian Litzinger":http://github.com/tilzinger