Benutzer:Elkuku/Proyektz/EasyCreator/Component install scripts

Aus Joomla! Dokumentation

Wechseln zu: Navigation, Suche

Bild:24px-Tip.png To build the install xml file for your component correctly, EasyCreator requires that you follow some simple guidelines if you want to use custom install PHP or SQL scripts.

Inhaltsverzeichnis

EasyCreator 0.0.12

  1. The Name of your install script must start with install or uninstall. (e.g. Datei:file_php.png install.mycomponent.php or just Datei:file_php.png install.php)
  1. Place the install scripts in the admin section of your component. You can place them at your components "root" level. If you prefer a sub folder, this must be named Datei:folder_blue.png install
    Bild:24px-Tip.png Note that as of Version 0.0.12 you may create any sub folders inside the Datei:folder_blue.png install folder .

Examples


  • Datei:folder_blue.png administrator
    • Datei:folder_blue.png components
      • Datei:folder_blue.png YOURCOMPONENT
        • Datei:file_php.png install.php
        • Datei:file_php.png uninstall.php
        • Datei:file_white.png install.sql
        • Datei:file_white.png uninstall.sql

OR

  • Datei:folder_blue.png administrator
    • Datei:folder_blue.png components
      • Datei:folder_blue.png YOURCOMPONENT
        • Datei:folder_blue.png install
          • Datei:file_php.png install.php
          • Datei:file_php.png uninstall.php
          • Datei:file_white.png install.sql
          • Datei:file_white.png uninstall.sql

OR

  • Datei:folder_blue.png administrator
    • Datei:folder_blue.png components
      • Datei:folder_blue.png YOURCOMPONENT
        • Datei:folder_blue.png install
          • Datei:file_php.png install.php
          • Datei:file_php.png uninstall.php
          • Datei:folder_blue.png sql
            • Datei:file_white.png install.sql
            • Datei:file_white.png uninstall.sql

EasyCreator 0.0.11

Same as 0.0.12 but..

  • Due to a bug SQL files are only included correctly if they are in a Datei:folder_blue.png sql subfolder - sry =;)

EasyCreator 0.0.10 and below

Same as 0.0.12

Persönliche Werkzeuge
Team Navigation