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.
- Host: GitHub
- URL: https://github.com/timkelty/tbk.template_select.ee_addon
- Owner: timkelty
- Created: 2009-07-29T07:23:58.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2010-01-22T22:54:20.000Z (over 16 years ago)
- Last Synced: 2025-03-22T09:07:53.989Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 86.9 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
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