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

A simple link plug-in

One of our critics suggested that we should code something that would allow them to link to a review by simply typing in the restaurant's name. For instance, when writing an article about lunch spots, the critic doesn't want to hunt down a link to the Crosstown Deli review. Instead, by just typing Crosstown Deli, he wants it to turn into a link when the article is published. We could modify the code in com_content to do this, but the other critics don't know if they want to commit to this system yet. Also, if com_content is ever patched with updates from the Joomla! core team, we'll have to modify the code again. Instead, we will create a plug-in to search the output for review titles and automatically turn them into links. ...

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