Plugins FAQ: Skillnad mellan sidversioner

Från MoodleDocs
Hoppa till:navigering, sök
 
(8 mellanliggande sidversioner av 2 användare visas inte)
Rad 1: Rad 1:
{{Installing Moodle}}==What is contributed code?==
{{Installing Moodle}}==What is a plugin?==


Contributed code, or "contrib" for short, is understood to be all code contributed to Moodle which is not included in the standard Moodle distribution.
A plugin, (previously known as an add-on, contributed code, or "contrib" for short), is code enabling you to add additional features and functionality to Moodle.


==Where can I download contributed modules and plugins from?==
A number of plugins are included in the standard Moodle download. Additional plugins may be obtained from the [http://moodle.org/plugins Moodle plugins directory].


The [http://moodle.org/plugins Moodle plugins directory]
==How do I install a plugin?==


==How do I install a contributed module or plugin?==
See [[Installing plugins]] for instructions. Some, but not all, contributors include a "Read me" file with instructions in their plugin package.   
 
See [[Installing plugins]] for instructions. Often the Module and plugin database will also have instructions for a specific contributed code.  Some, but not all, contributors include a "Read me" file with instructions in their contributed code package.   


In a typical install, you will probably copy some php files into one or more areas of you Moodle site's code, then click on the Site administration link called "Notifications" to start the install process.
In a typical install, you will probably copy some php files into one or more areas of you Moodle site's code, then click on the Site administration link called "Notifications" to start the install process.
Rad 25: Rad 23:
See [[:dev:Guidelines for contributed code|Guidelines for contributed code]].
See [[:dev:Guidelines for contributed code|Guidelines for contributed code]].


==Is there any information on creating a new module or plugin?==
==Is there any information on creating a new plugin?==


Yes! See [[:dev:Developer documentation]]. More coming soon!
Yes! See [[:dev:Plugins]].


==See also==
==See also==


* Using Moodle [http://moodle.org/mod/forum/view.php?id=44 Contributed modules and plugins forum]
* Using Moodle [http://moodle.org/mod/forum/view.php?id=44 General plugins forum]
* [https://moodle.org/mod/forum/discuss.php?d=325804#p1309721 Moodle 2015 favorite plugins] forum thread by Gavin Henrick, with lots of useful information about Moodle plugins


[[Category:Contributed code]]
[[Category:Contributed code]]
[[Category:FAQ]]
[[Category:FAQ]]
[[fr:FAQ de code tiers]]
[[es:Plugins FAQ]]

Nuvarande version från 15 februari 2017 kl. 09.04

What is a plugin?

A plugin, (previously known as an add-on, contributed code, or "contrib" for short), is code enabling you to add additional features and functionality to Moodle.

A number of plugins are included in the standard Moodle download. Additional plugins may be obtained from the Moodle plugins directory.

How do I install a plugin?

See Installing plugins for instructions. Some, but not all, contributors include a "Read me" file with instructions in their plugin package.

In a typical install, you will probably copy some php files into one or more areas of you Moodle site's code, then click on the Site administration link called "Notifications" to start the install process.

How do I apply a patch?

See dev:How to apply a patch.

Why doesn't my newly installed plugin show up in the list of plugins?

Firstly, check that you have visited your admin index page http://your_moodle_site.org/admin/index.php to complete the installation. Next, check that you unzipped the archive to the correct folder, and that the new plugin folder is not contained within another folder.

How do I contribute code to Moodle?

See Guidelines for contributed code.

Is there any information on creating a new plugin?

Yes! See dev:Plugins.

See also