Giter Site home page Giter Site logo

guniorobot / tbk.template_select.ee_addon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from timkelty/tbk.template_select.ee_addon

1.0 2.0 0.0 94 KB

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

PHP 100.00%

tbk.template_select.ee_addon's Introduction

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}

tbk.template_select.ee_addon's People

Contributors

timkelty avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.