Changes between Version 12 and Version 13 of DolphinTutorialMyFirstModule


Ignore:
Timestamp:
Jan 29, 2010, 6:53:38 AM (15 years ago)
Author:
AlexT
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DolphinTutorialMyFirstModule

    v12 v13  
    5252==  2. Simplest module. == 
    5353 
    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. 
     54There 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. 
    5555 
    5656Lets describe each file in the module. This is almost the minimal set of files for the module: 
     
    556556Full module re-installation is needed because we have modified the '''config.php''' and '''install.sql''' files. 
    557557 
    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. 
     558The 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. 
    559559 
    560560== 4. Blog functionality. == 
    561561  
    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. 
     562I 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. 
    563563 
    564564Our Bloggie will consist of several pages: 
     
    966966Try this new functionality by editing already created posts. 
    967967 
    968 You can download the resulting module to compare with your own, here: (TODO:bloggie4.zip). 
     968You can download the resulting module to compare with your own, [http://www.boonex.com/trac/dolphin/attachment/wiki/DolphinTutorialMyFirstModule/bloggie4.zip here]. 
    969969 
    970970Congratulations! 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. 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
Fork me on GitHub