diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2012-10-09 15:28:22 +0200 |
---|---|---|
committer | Jan Klemkow <j.klemkow@wemelug.de> | 2012-10-09 15:28:22 +0200 |
commit | 5c7511c7c64f62f44244ba1c9f1aac9952c564e1 (patch) | |
tree | 9f10a75a48b2d7df333ada2f6d750dddf430bafb /sqlbox/README.txt | |
parent | 459313e56b0653e4709694a7e86afc11be514097 (diff) | |
download | sqltutor-plugin-5c7511c7c64f62f44244ba1c9f1aac9952c564e1.tar.gz sqltutor-plugin-5c7511c7c64f62f44244ba1c9f1aac9952c564e1.tar.bz2 sqltutor-plugin-5c7511c7c64f62f44244ba1c9f1aac9952c564e1.zip |
Rename 'newmodule' into sqlbox in all files.
Diffstat (limited to 'sqlbox/README.txt')
-rw-r--r-- | sqlbox/README.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sqlbox/README.txt b/sqlbox/README.txt index 3b8a9ec..5c5931a 100644 --- a/sqlbox/README.txt +++ b/sqlbox/README.txt @@ -5,17 +5,17 @@ this module template code. * Unzip the archive and read this file -* Rename the newmodule/ folder to the name of your module (eg "widget"). +* Rename the sqlbox/ folder to the name of your module (eg "widget"). The module folder MUST be lower case. 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. * Edit all the files in this directory and its subdirectories and change - all the instances of the string "newmodule" to your module name + all the instances of the string "sqlbox" to your module name (eg "widget"). If you are using Linux, you can use the following command - $ find . -type f -exec sed -i 's/newmodule/widget/g' {} \; + $ find . -type f -exec sed -i 's/sqlbox/widget/g' {} \; -* Rename the file lang/en/newmodule.php to lang/en/widget.php +* Rename the file lang/en/sqlbox.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 @@ -30,7 +30,7 @@ this module template code. the module's tables successfully created * Go to Site Administration > Plugins > Activity modules > Manage activities - and you should find that this newmodule has been added to the list of + and you should find that this sqlbox has been added to the list of installed modules. * You may now proceed to run your own code in an attempt to develop |