Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

ExpressionEngine plugin to allow you to move content from one template to another.

License

Notifications You must be signed in to change notification settings

easy-designs/easy_relocate.ee_addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Easy Reloate for ExpressionEngine

ExpressionEngine plugin to allow you to move content from one template to another.

The API

To move content from one template to another, first establish what is being moved and define a key to store it under using {exp:easy_relocate:capture}:

{exp:easy_relocate:capture key="scripts"}
	<script src="http://connect.facebook.net/en_US/all.js#xfbml=1" type="text/javascript"></script>
	<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
{/exp:easy_relocate:capture}

Then use {exp:easy_relocate:insert} to drop it somewhere else:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="/j/main.js"></script>
{exp:easy_relocate:insert key="scripts"}

You can drop it in any template processed after the one used to capture the content.

License

Easy Reloate for ExpressionEngine is distributed under the liberal MIT License.

About

ExpressionEngine plugin to allow you to move content from one template to another.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages