From 98c9c1b570d66660407cd5542d27b6654a0a13e6 Mon Sep 17 00:00:00 2001 From: leithoff Date: Tue, 31 May 2016 15:42:36 +0200 Subject: [PATCH] Updated CodeCorner1 (markdown) --- CodeCorner1.md | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/CodeCorner1.md b/CodeCorner1.md index 2a63a8f..f018ada 100644 --- a/CodeCorner1.md +++ b/CodeCorner1.md @@ -35,24 +35,31 @@ But you need the (required) file ```setup.inc.php``` in folder ```$app/setup```. *** ```php '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.