Book Image

Learning Joomla! 1.5 Extension Development

Book Image

Learning Joomla! 1.5 Extension Development

Overview of this book

Table of Contents (17 chapters)
Learning Joomla! 1.5 Extension Development
Credits
About the Author
About the Reviewer
Preface

Parameters for plug-ins


For our content review links plug-in, we would like to give the administrators some control over formatting the link. They should be able to add text to the link to show that it goes to a review, or change the anchor tag to have more attributes. The process for adding parameters to our plug-in is similar to what we do for modules. Open the /plugins/content/reviews.xml file and add this code:

<?xml version="1.0" encoding="utf-8"?>
parameters, for plug-insXML configuration files<install version="1.5" type="plugin" group="content">
<name>Content - Restaurant Review Links</name>
<author>Sumptuous Software</author>
<creationDate>August 2008</creationDate>
<copyright>(C) 2008</copyright>
<license>MIT</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.packtpub.com</authorUrl>
<version>1.0</version>
<description>Searches for titles of...