Skip to content

timkelty/tbk.template_select.ee_addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Template Select for FieldFrame

Useful for on-demand embedding within page entries.

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

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.

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}

Thanks

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages