<?xml version="1.0" encoding="utf-8"?>
<extension version="2.5" type="plugin" group="search">
<name>plg_search_scanpdf</name> //here plg is prefix and after plg_ u
have to define the plugin group, _and then name of the plugin
<author>Lankacom Services</author>
<creationDate>July 2012</creationDate>
<copyright>Copyright (C) 2012 - 2020 . All rights reserved.</copyright>
<license>Commercial; see LICENSE.txt</license>
<authorEmail>ak...@lankacom.net</authorEmail>
<authorUrl>www.lankacom.net</authorUrl>
<version>2.5.0</version>
<description>Extends Default Search option</description>
<files>
<filename plugin="scanpdf">scanpdf.php</filename>
<filename>index.html</filename>
</files>
</extension>
On Tue, Jul 24, 2012 at 2:32 PM, Poornima Alexander <poornima.a...@gmail.com
> wrote:
> Hi, can someone please explain me what does the xml file does in a plugin?
> What parts are mandatory in coding?
> Thank you very much...
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! CMS Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-cms/-/Nflh5tyB8r4J.
> To post to this group, send an email to joomla-dev-cms@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-cms+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
if you want you can add plugin parameters in the following way, this is a
example
<config>
<fields name="params">
<fieldset name="basic">
<field name="enabled" type="radio" default="0"
label="Enable" description="If you enable this, make sure you have added a
password. You will not be able to access the /administrator folder without
your password!">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="password" type="password" size="50" default=""
label="Password" description="This is your password. You will use it to
access your /administrator folder. Dont Forget It" />
<field name="mode" type="radio" default="0" label="Mode"
description="This is the authentication mode. If you use PHP as an Apache
module, use the HTTP Authentication (more security). ">
<option value="1">HTTP Authentication</option>
<option value="0">URL Hashkey</option>
</field>
</fieldset>
</fields>
</config>
On Tue, Jul 24, 2012 at 3:02 PM, Poornima Alexander <poornima.a...@gmail.com
> To post to this group, send an email to joomla-dev-cms@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-cms+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
@ Mohamed Akram I am new to developing plugins for Joomla. This is the first time that i am going to develop a plugin. Can you please give me a brief description for params for a plugin?
actually you can define any number of params for any joomla extension,
assume, you want develop a search plugin where you want allow the
administrator to define the search limit, and based on the defined limit
via the back end you can show the result,
in your php code you can get the params set for a plugin like this,
$plugin = JPluginHelper::getPlugin('system', 'yourplugin name');
$this->params = new JParameter($plugin->params);
> wrote:
> @ Mohamed Akram
> I am new to developing plugins for Joomla. This is the first time that i
> am going to develop a plugin.
> Can you please give me a brief description for params for a plugin?
> Thank you very much...
> On Tuesday, July 24, 2012 9:02:28 AM UTC, Poornima Alexander wrote:
>> Hi, can someone please explain me what does the xml file does in a
>> plugin? What parts are mandatory in coding?
> To post to this group, send an email to joomla-dev-cms@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-cms+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
> actually you can define any number of params for any joomla extension,
> assume, you want develop a search plugin where you want allow the
> administrator to define the search limit, and based on the defined limit
> via the back end you can show the result,
> in your php code you can get the params set for a plugin like this,
> On Tue, Jul 24, 2012 at 3:12 PM, Poornima Alexander <
> poornima.a...@gmail.com> wrote:
>> @ Mohamed Akram
>> I am new to developing plugins for Joomla. This is the first time that i
>> am going to develop a plugin.
>> Can you please give me a brief description for params for a plugin?
>> Thank you very much...
>> On Tuesday, July 24, 2012 9:02:28 AM UTC, Poornima Alexander wrote:
>>> Hi, can someone please explain me what does the xml file does in a
>>> plugin? What parts are mandatory in coding?
>> To post to this group, send an email to joomla-dev-cms@googlegroups.com.
>> To unsubscribe from this group, send email to
>> joomla-dev-cms+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
>> actually you can define any number of params for any joomla extension,
>> assume, you want develop a search plugin where you want allow the
>> administrator to define the search limit, and based on the defined limit
>> via the back end you can show the result,
>> in your php code you can get the params set for a plugin like this,
>> On Tue, Jul 24, 2012 at 3:12 PM, Poornima Alexander <
>> poornima.a...@gmail.com> wrote:
>>> @ Mohamed Akram
>>> I am new to developing plugins for Joomla. This is the first time that i
>>> am going to develop a plugin.
>>> Can you please give me a brief description for params for a plugin?
>>> Thank you very much...
>>> On Tuesday, July 24, 2012 9:02:28 AM UTC, Poornima Alexander wrote:
>>>> Hi, can someone please explain me what does the xml file does in a
>>>> plugin? What parts are mandatory in coding?
>>> To post to this group, send an email to joomla-dev-cms@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> joomla-dev-cms+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
> wrote:
> @ Mohamed Akram
> I am new to developing plugins for Joomla. This is the first time that i
> am going to develop a plugin.
> Can you please give me a brief description for params for a plugin?
> Thank you very much...
> On Tuesday, July 24, 2012 9:02:28 AM UTC, Poornima Alexander wrote:
>> Hi, can someone please explain me what does the xml file does in a
>> plugin? What parts are mandatory in coding?
> To post to this group, send an email to joomla-dev-cms@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-cms+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
The plugin i intend to develop is like this. User is allowed to select videos or audios from a list of items. Once the user selects one item the video/audio is played inside the site. (without redirecting to youtube or any other site). I hope to facilitate the user to upload such videos and audios into the database also. Yet i still cannot decide where should i start. Can you please give me an idea on how to start this?
I think that for such tasks you will need not a plugin, but a component. And the best way to start is to take a paper and write down some base ideas how it should work, what db schemas will it use and so on.
Also look at docs.joomla.org in Developers section, there is a tutorial of creating basic component.
I think that for such tasks you will need not a plugin, but a component. And the best way to start is to take a paper and write down some base ideas how it should work, what db schemas will it use and so on.
Also look at docs.joomla.org in Developers section, there is a tutorial of creating basic component.
> Hi, can someone please explain me what does the xml file does in a plugin?
> What parts are mandatory in coding?
> Thank you very much...
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! CMS Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-cms/-/Nflh5tyB8r4J.
> To post to this group, send an email to joomla-dev-cms@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-cms+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
> wrote:
> The plugin i intend to develop is like this.
> User is allowed to select videos or audios from a list of items. Once the
> user selects one item the video/audio is played inside the site. (without
> redirecting to youtube or any other site). I hope to facilitate the user to
> upload such videos and audios into the database also.
> Yet i still cannot decide where should i start.
> Can you please give me an idea on how to start this?
> Thank you very much...
> On Tuesday, 24 July 2012 09:02:28 UTC, Poornima Alexander wrote:
>> Hi, can someone please explain me what does the xml file does in a
>> plugin? What parts are mandatory in coding?
> To post to this group, send an email to joomla-dev-cms@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-cms+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.