Changes between Version 5 and Version 6 of HowToMakeAutomaticUpgradeScriptForModule


Ignore:
Timestamp:
Jul 9, 2013, 3:28:13 AM (11 years ago)
Author:
AntonL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToMakeAutomaticUpgradeScriptForModule

    v5 v6  
    1313'''bloggie/updates/update_100_110/install/info'''[[BR]] 
    1414Installation information messages folder. If you need to display information messages upon update install, you will need to place files here - also special instructions are needed to point to in the install config file to display these messages properly.[[BR]] 
     15 
     16{{{ 
     17'install' => array( 
     18        'show_introduction' => 1, 
     19        ... 
     20        'show_conclusion' => 1 
     21), 
     22}}} 
     23 
    1524'''bloggie/updates/update_100_110/install/langs'''[[BR]] 
    1625Update languages must be located in this dir. The language file must be a php file with the name of two letters of the language code.  We will take a closer look at an example of the language file later.[[BR]] 
     
    5564'dependencies' => array(), 
    5665}}} 
     66 
     67== Language file. == 
     68In comparison with module's language file update's language file has tree separate arrays. 
     691. An array for language keys which should be deleted. The array should contain language keys only. 
     70 
     71{{{ 
     72$aLangContentDelete = array( 
     73        'lang_key', 
     74); 
     75}}} 
     76 
     772. An array for language keys which should be added. The array should contain key => translation pairs. 
     78 
     79{{{ 
     80$aLangContentAdd = array(   
     81        '_language_key' => 'translation' 
     82); 
     83}}} 
     84 
     853. An array for language keys which should be updated. The array should contain key => translation pairs. 
     86 
     87{{{ 
     88$aLangContentUpdate = array( 
     89        '_language_key' => 'translation', 
     90); 
     91}}} 
 
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