Tuesday, June 9, 2009

Joomla plugins 1

Plugin types :

  • authentication
  • content
  • editors
  • editors-xtd
  • search
  • system
  • user
  • xmlrpc
File system:

your can create your own type by adding a new folder under /plugins/. So, files for an authentication plugin will be saved under /plugins/authentication/, files for a system plugin will be saved under /plugins/system/, and so on.

SAMPLE FOR THE SYSTEM PLUGIN :

he skeleton test.php has the following source:

?>

text.



System - Test
Author
Month 2008
Copyright (C) 2008 Holder. All rights reserved.
GNU General Public License
email
url
1.0.1
Damu A test system plugin

test.php


type="text"
default=""
label="Example"
description="An example text parameter" />





Installation Make

create the zip file with this two files and try to upload from the joomla admin pannel in the install area to install this zip file after that its the fiels are under the plugin/system/test.php , plugin/system/test.xlm like its present .