NSM Transplant

Developer

Leevi Graham - Newism

3rd Party (Commercial)


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

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!

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.