EE 1
EE 2
NSM Transplant
Developer
3rd Party (Commercial)
Compatibility
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Better Workflow
- Matrix
Requirements
- jQuery for the Control Panel
Categories
Plugin
Tags
Full Documentation available on EE-Garage →
NSM Transplant is an ExpressionEngine 2.0 port of LG Replace. The purpose of the plugin is to temporarily cache rendered tagdata and re-render it outside of it's original context eg: a {exp:channel:entries} tag.
Inside your channel entry there is a list of related links in a textarea. Those links need to be rendered in a sidebar outside of the original tag. Here’s how it’s achieved:
{exp:nsm_transplant:body}
{exp:channel:entries}
{title}
{exp:nsm_transplant:content id="my_entry_links"}
{links}
{/exp:nsm_transplant:content}
{/exp:channel:entries}
{!-- A second channel:entries tag --}
{exp:channel:entries}
{title}
{content}
{exp:channel:entries}
{!--
Inside the {exp:nsm_transplant:body} tag
Outside the original {exp:channel:entries}
Render the cached entry links with {my_entry_links}.
--}
{my_entry_links}
{/exp:nsm_transplant:body}
{!--
Outside {exp:nsm_transplant:body} use
{exp:nsm_transplant:output} to render the cached content
--}
{exp:nsm_transplant:output id="my_entry_links"}
The example above is simple but it demonstrates how to reduce the template by at least one {exp:channel:entries} tag.
NSM Transplant Links
This entry was created January 10, 2011, 12:31 pm.
This entry was last updated March 3, 2013, 8:09 pm.
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!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!