O'Reilly logo

Learning Joomla! 1.5 Extension Development by Joseph L. LeBlanc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

An information box plug-in

Another critic was less interested in the links, but was interested in getting a box that would display the "vital details" for the restaurant of her choice. To use this feature, we will instruct the critic to enclose the name of the review in curly braces, preceded by the word reviewinfo and a space. For example, the details for "The Daily Dish" could be added in by entering {reviewinfo The Daily Dish}.

Note

Why curly braces?

Many core plug-ins use curly braces as a way of creating "plug-in tags" in content items, so that they aren't confused with HTML or XML. Frequently, you will see them used alone (as in {runmyplugin}), with parameters (as we're doing with the reviews), or enclosing text ({plugin} like this {/plugin}) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required