Tine2.0

FAQ

The Frequently Asked Questions Page.

Contents

How can I import contacts?

At first, you have to create a new addressbook (or get the container_id of an existing addressbook).

You need to supply a csv file with your data and an import definition with some basic settings and the field mapping.

import definition

<?xml version="1.0" encoding="UTF-8"?> 
<config>
 <model>Addressbook_Model_Contact</model>
 <plugin>Addressbook_Import_Csv</plugin>
 <type>import</type>
 <headline>1</headline>
 <dryrun>0</dryrun>
 <delimiter>;</delimiter>
 <shared_tags>create</shared_tags>
 <description>tine adb import</description>
 <container_id>5</container_id>
 <mapping>
       <field>
           <source>contact_id</source>
           <destination></destination>
       </field>
           .....
       <field>
           <source>contact_uid</source>
           <destination></destination>
       </field>
       <field>
           <source>Tags</source>
           <destination>tags</destination>
           <separator>,</separator>
       </field>
 </mapping>
</config>


import command

php tine20.php --username user --password password --method Addressbook.import import.csv definition.xml


see this forum thread (in german) for additional information about importing contacts from egw 1.6: http://www.tine20.org/forum/viewtopic.php?f=12&t=1650

How can I add custom fields to the Addressbook / Timetracker?

see Howto add custom fields

How do I setup the cronjob?

  • add cronjob user in tine and get his ID (from the user table for example)
  • set cronjob userid ('cronuserid') in config.inc.php or config database table

config.inc.php:

'cronuserid' => 'cron_user_ID',

OR

config table in db

INSERT INTO `tine20_config` (`id`, `application_id`, `name`, `value`) VALUES
('_someID_', '_Calendar_App_ID_', 'cronuserid', '_cron_user_ID_'); 


  • add command to crontab (every 5 minutes)
*/5 * * * * php /www/tine/tine20.php --method Tinebase.triggerAsyncEvents >> /logs/cron.log

(you need to adjust the paths and perhaps you need to add the include path)

if you still get no notifications, you need to make sure that an email sender is set for your notifications service. got to setup.php / email settings / smtp and add an email address for the sender there.

How do I administrate calendar resources?

  • Go to Admin/Applications
  • Right-click 'Calendar' and choose 'Settings'

How do I add calendar resources to an event?

see this forum post (with screenshot): http://www.tine20.org/forum/viewtopic.php?f=8&t=2300

How do I configure calendar notifications / inivtations ?

  • Add a valid SMTP-configuration (this can be done in the setup)
  • Add a notification service email address (got to setup, too)
  • check your preferences for your desired notification levels

How do I administrate CRM leadstates/sources/types?

  • Go to Admin/Applications
  • Right-click 'Crm' and choose 'Settings'

Why we don't use autoincrements as ID's?

see this forum post (german) http://www.tine20.org/forum/viewtopic.php?f=12&t=2336&p=10274#p10268

How do I update my Tine 2.0 installation?

see this blog post (in german) for the update procedure: http://www.andydope.de/updaten-von-tine-2-0

How do I setup automatic alarms for tasks?

add a row to your config table:

insert into [tine20_]config (`id`, `application_id`, `name`, `value`) VALUES
('SOMEID', '_TASKAPPID_', 'automaticalarm', '1440');

1440 is the alarm time (before the due date of the task) in minutes. in this case, a notification email will be send 24 hours before the due date. you need a cronjob for the alarm notifications.

IP 6 Support

At this point we are working on the implementation of IP6