mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Updated CodeCorner1 (markdown)
parent
a6da0ca13a
commit
98c9c1b570
@ -35,24 +35,31 @@ But you need the (required) file ```setup.inc.php``` in folder ```$app/setup```.
|
||||
***
|
||||
```php
|
||||
<?php
|
||||
$setup_info['test']['name'] = 'test';
|
||||
$setup_info['test']['title'] = 'Test';
|
||||
$setup_info['test']['version'] = '0.9.001'; //anything you like, as long as it is fitting the schema of a version number
|
||||
$setup_info['test']['app_order'] = 100; // at the end
|
||||
// $setup_info['test']['tables'] = array('egw_test'); // if there are any
|
||||
$setup_info['test']['enable'] = 1;
|
||||
$setup_info['test']['name'] = 'test';
|
||||
$setup_info['test']['title'] = 'Test';
|
||||
$setup_info['test']['version'] = '16.1'; //anything you like, as long as it is fitting the schema of a version number 0.9.001 may work as well
|
||||
$setup_info['test']['app_order'] = 100; // at the end. most likely
|
||||
$setup_info['test']['enable'] = 1;
|
||||
$setup_info['test']['index'] = 'test.test_ui.index&ajax=true';
|
||||
$setup_info['test']['autoinstall'] = true; // install automatically on update
|
||||
|
||||
/* Dependencies for this app to work */
|
||||
// if you define dependencies, you MUST meet them to get that baby on the road
|
||||
$setup_info['test']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.8','1.9'),
|
||||
);
|
||||
$setup_info['test']['depends'][] = array( // this is only necessary as long the etemplate-class is not in the api
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.6','1.8','1.9'),
|
||||
);
|
||||
// here comes some author info. you may or may not provide it.
|
||||
// But IF, you should use your OWN Info
|
||||
$setup_info['test']['author'] = 'Stylite AG';
|
||||
$setup_info['test']['license'] = 'GPL';
|
||||
$setup_info['test']['description'] = 'Test application in EGroupware';
|
||||
$setup_info['test']['maintainer'] = 'Stylite AG';
|
||||
$setup_info['test']['maintainer_email'] = 'info@stylite.de';
|
||||
|
||||
// if there are any tables, that belong to the application, list them here
|
||||
//$setup_info['test']['tables'] = array('egw_test');
|
||||
|
||||
/* Dependencies for this app to work */
|
||||
// we intend to build up from the newest api
|
||||
$setup_info['mail']['depends'][] = array(
|
||||
'appname' => 'api',
|
||||
'versions' => Array('16.1')
|
||||
);
|
||||
```
|
||||
***
|
||||
Within the setup area you go to manage Applications (Setup Main Menu) check the name of your application (the name of the folder within the eGroupwaretree, where your Application is going to reside) and click install.
|
||||
|
Loading…
Reference in New Issue
Block a user