String Plugin

Having an embedded template that contains your webpage doctype, opening html tag, head content, and maybe the header of your site is very common and useful. It's nice to be able to change that stuff in one place and have it change everywhere on the website. Unfortunately it can be very frustrating to pass page titles and meta descriptions to this embedded template on even moderately complex sites. Having to wrap your embed tag with a weblog/channel entries tag so you can pass parameters to the template is awkward at best, and it just gets worse from there.

The string plugin greatly simplifies this task... just build the string wherever it's most natural in the main template (where you'll have your entries tag open anyway) and call on that value from the embedded template.

One Plugin, Many Uses

The string plugin was designed to take advantage of ExpressionEngine's unique way of parsing templates. Because the main template is executed to completion before any embedded templates are even looked at, this plugin can be used to build a string in the main template and output the value of the string in any embedded template... even an embedded template that is "above" the point where you built the string.

Check out the code examples to see some of the ways this plugin can make your life easier.

Mmmm Dog Food

We used the string plugin extensively on this site. It's used for our page titles, meta descriptions, the breadcrumbs, canonical link tags, even some sidebar content. We're convinced that we've only scratched the surface of what can be done with this plugin. If you have a particularly clever use, we'd love to hear about it.

The String Plugin saves you time and trouble for only $9.95 per license.

We're convinced that you'll find it indespensible and an excellent value for the money. To purchase, head on over to devot-ee.  If it doesn't solve any of your problems, refunds are available for 30 days after purchase.

Release Notes & Changelog

EE 1.6 Branch

String Plugin 1.2.0 - July 28, 2010

  • "name" parameter now optional in :output tag
  • :output tag now can access any variable by name

String Plugin 1.1.1 - March 4, 2010

  • fixed a bug with :output conditional processing when variable is empty

EE 2.x Branch

String Plugin 1.2.0 - July 28, 2010

  • "name" parameter now optional in :output tag
  • :output tag now can access any variable by name

String Plugin 1.1.1 - March 4, 2010

  • fixed a bug with :output conditional processing when variable is empty

information

Price: $9.95 per site - buy now at devot-ee.com

Compatibility:

  • ExpressionEngine 1.6
  • ExpressionEngine 2.x

Most Recent Version:

  • EE 1.6: String Plugin 1.2.0
    July 28, 2010
  • EE 2.x: String Plugin 1.2.0
    July 28, 2010

documentation