Changes between Version 12 and Version 13 of DolphinTutorialMyFirstModule
- Timestamp:
- Jan 29, 2010, 6:53:38 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DolphinTutorialMyFirstModule
v12 v13 52 52 == 2. Simplest module. == 53 53 54 There is a prepared zip package with the simplest Dolphin 7 module here(TODO:bloggie.zip). Download it, unpack and upload to the '''modules/me/''' folder. Most probably there is no me folder in the modules directory, so just create it by yourself. '''Me''' is a vendor name. For the real module, you need to rename it to the real vendor name, but for now '''me''' is fine for everybody. It will be the '''bloggie''' folder in the '''modules/me/''' directory. Bloggie is the module name. It is good practice to name the folder where module's files are located with the name of the module, it is just more clear. In the end it will be some type of blog module with the name Bloggie.54 There is a prepared zip package with the simplest Dolphin 7 module [http://www.boonex.com/trac/dolphin/attachment/wiki/DolphinTutorialMyFirstModule/bloggie1.zip here]. Download it, unpack and upload to the '''modules/me/''' folder. Most probably there is no me folder in the modules directory, so just create it by yourself. '''Me''' is a vendor name. For the real module, you need to rename it to the real vendor name, but for now '''me''' is fine for everybody. It will be the '''bloggie''' folder in the '''modules/me/''' directory. Bloggie is the module name. It is good practice to name the folder where module's files are located with the name of the module, it is just more clear. In the end it will be some type of blog module with the name Bloggie. 55 55 56 56 Lets describe each file in the module. This is almost the minimal set of files for the module: … … 556 556 Full module re-installation is needed because we have modified the '''config.php''' and '''install.sql''' files. 557 557 558 The module is completed and you can download resulted module here(TODO:bloggie2.zip)to compare with your own, or to find mistakes if something went wrong.558 The module is completed and you can download resulted module [http://www.boonex.com/trac/dolphin/attachment/wiki/DolphinTutorialMyFirstModule/bloggie2.zip here] to compare with your own, or to find mistakes if something went wrong. 559 559 560 560 == 4. Blog functionality. == 561 561 562 I have prepared new package to not waste the time for things already explained. Please uninstall your current '''Bloggie''' module and delete it from the '''modules/me''' directory, and then download a new one from here(TODO:bloggie3.zip)and install it. I have just removed unnecessary things and added settings and language keys related to Blog functionality.562 I have prepared new package to not waste the time for things already explained. Please uninstall your current '''Bloggie''' module and delete it from the '''modules/me''' directory, and then download a new one from [http://www.boonex.com/trac/dolphin/attachment/wiki/DolphinTutorialMyFirstModule/bloggie3.zip here] and install it. I have just removed unnecessary things and added settings and language keys related to Blog functionality. 563 563 564 564 Our Bloggie will consist of several pages: … … 966 966 Try this new functionality by editing already created posts. 967 967 968 You can download the resulting module to compare with your own, here: (TODO:bloggie4.zip).968 You can download the resulting module to compare with your own, [http://www.boonex.com/trac/dolphin/attachment/wiki/DolphinTutorialMyFirstModule/bloggie4.zip here]. 969 969 970 970 Congratulations! The first Dolphin 7 module is now completed. I hope that you are full of ideas on how to extend this module for your own needs or create a new one from scratch.