123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- LInE - http://www.ime.usp.br/line
- The following steps should get you up and running with
- this module template code.
- * DO NOT PANIC!
- * Unzip the archive and read this file
- * Rename the nasatlx/ folder to the name of your module (eg "widget").
- The module folder MUST be lower case and can't contain underscores. You should check the CVS contrib
- area at http://cvs.moodle.org/contrib/plugins/mod/ to make sure that
- your name is not already used by an other module. Registering the plugin
- name @ http://moodle.org/plugins will secure it for you.
- * Edit all the files in this directory and its subdirectories and change
- all the instances of the string "nasatlx" to your module name
- (eg "widget"). If you are using Linux, you can use the following command
- $ find . -type f -exec sed -i 's/nasatlx/widget/g' {} \;
-
- On a mac, use:
- $ find . -type f -exec sed -i '' 's/nasatlx/widget/g' {} \;
- * Rename the file lang/en/nasatlx.php to lang/en/widget.php
- where "widget" is the name of your module
- * Place the widget folder into the /mod folder of the moodle
- directory.
- * Go to Settings > Site Administration > Development > XMLDB editor
- and modify the module's tables.
- Make sure, that the web server has write-access to the db/ folder.
- You need at least one table, even if your module doesn't use it.
- * Modify version.php and set the initial version of you module.
- * Visit Settings > Site Administration > Notifications, you should find
- the module's tables successfully created
- * Go to Site Administration > Plugins > Activity modules > Manage activities
- and you should find that this nasatlx has been added to the list of
- installed modules.
- * You may now proceed to run your own code in an attempt to develop
- your module. You will probably want to modify mod_form.php and view.php
- as a first step. Check db/access.php to add capabilities.
- We encourage you to share your code and experience - visit http://moodle.org
- Good luck!
|