EE 1
EE 2
String Injector
Developer
3rd Party (Commercial)
1 downloads (last 90 days)
Buy Now!
Compatibility
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Better Workflow
- Matrix
Requirements
- jQuery for the Control Panel
Categories
Plugin
Tags
Ever wanted to add a <br> only after the first word in a text string ? Or ever wanted to split a text by 2 <p> with different classes ?
<p>
{exp:string_injector needle="2" inject=""}
text string blag blah
{/exp:string_injector}
</p>
outputs:
<p> text string </p><p> blag blah</p>
USAGE:
Wrap anything you want to be processed between the tag pairs.
{exp:string_injector needle=“5” inject=“html element here”}
text you want processed
{/exp:string_injector}
Note: The “needle” parameter defines number of words to insert the needle to.
Version 1.0
******************
- 2.0 compatible plugin
This entry was created April 16, 2012, 12:49 pm.
This entry was last updated August 19, 2012, 1:38 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!
1 Review:
Zachary 08.14.12
Works perfectly as advertised. Allowed me to enter a break character just where I needed. Brilliant.