Pre Embed

Developer

Rob Sanchez

3rd Party (Free)

733 downloads (last 90 days)

Download

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Embed a template before other tag parsing, so you can re-use templates more easily.

Installation

Copy the /system/expressionengine/third_party/pre_embed/ folder to your /system/expressionengine/third_party/ folder

Usage. The old way.

    {!--template--}
    {exp:channel:entries channel="your_channel"}
        {embed="site/embed" title="{title}" your_custom_field="{your_custom_field}"}
    {/exp:channel:entries}

    {!--embed--}
    <p>{embed:title}: {embed:your_custom_field}</p>

Usage. The new way.

{!--template--}
    {exp:pre_embed parse="inward"}{!--yes, parse="inward" is necessary--}
    {exp:channel:entries channel="your_channel"}
        {pre_embed="site/something"}
    {/exp:channel:entries}
    {/exp:pre_embed}

    {!--embed--}
    <p>{title}: {your_custom_field}</p>

Tada! Now you can re-use the same embed more easily.

Download Pre Embed

EE Support Downloads Add-On Version Release Date
Not Specified Download Mar 6, 2011

This entry was created March 14, 2011, 11:18 am.
This entry was last updated April 20, 2012, 4:58 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

2 Reviews:

Savannah Christian Church 05.03.13

Savannah Christian Church
Rating - {addon_rating_average}

Fantastic. Save so much time when developing complex sites, I am also using this in conjunction with regular embeds so I can put multiple channel output very easily on one page and still allow me to create a great header and footer embed.

Bryant 04.10.11

Bryant
Rating - {addon_rating_average}

Brilliant plugin that lets you build sites using partials in a smart and logical way.  Seperating channel:entries tags and the actual markup is essential to my build process and this keeps my templates DRY…love it!