I-doIT 0.9 - Create a new mandator
-
Creating a new mandator in 3 Steps.
If you just want to create a new language for an existing mandator, you need to process step 3 only.
Don't forget to change the database name used for this example: 'idoit_new_mandator'.Step 1. - Create a new database
Get a connection to your database:
mysql -u root -pCreate your new mandator database:
create database idoit_new_mandator;Step 2. - Import a dump of the i-doit data tables into your new database.
Switch to your idoit directory:
cd idoit-path/Insert a fresh database (change idoit_new_mandator to the name you used for your new database in step one):
mysql -uroot -p -Didoit_new_mandator < setup/sql/idoit_data.sqlStep 3. - Insert a new entry into your idoit system database
Get a connection to your database management system and select your i-doit system database:
mysql -u root -p -Didoit_system_databaseModify the quoted fields after the keyword VALUES before inserting, but dont remove these quotes.
Insert a new mandator entry with english language:
INSERT INTO `isys_mandator` ( `isys_mandator__id` , `isys_mandator__title` , `isys_mandator__description` , `isys_mandator__dir_cache` , `isys_mandator__dir_tpl` , `isys_mandator__db_host` , `isys_mandator__db_port` , `isys_mandator__db_name` , `isys_mandator__db_user` , `isys_mandator__db_pass` , `isys_mandator__sort` , `isys_mandator__default_lang_const` , `isys_mandator__default_language_short` ) VALUES (DEFAULT, 'MandantTitle', NULL , 'cache_mandanttitle', 'default', 'db_ip', '3306', 'idoit_new_mandator', 'db_user', 'db_pass', '50', 'ISYS_LANGUAGE_ENGLISH', 'de');Insert a new mandator entry with german language:
INSERT INTO `isys_mandator` ( `isys_mandator__id` , `isys_mandator__title` , `isys_mandator__description` , `isys_mandator__dir_cache` , `isys_mandator__dir_tpl` , `isys_mandator__db_host` , `isys_mandator__db_port` , `isys_mandator__db_name` , `isys_mandator__db_user` , `isys_mandator__db_pass` , `isys_mandator__sort` , `isys_mandator__default_lang_const` , `isys_mandator__default_language_short` ) VALUES (DEFAULT, 'MandantTitle', NULL , 'cache_mandanttitle', 'default', 'db_ip', '3306', 'idoit_new_mandator', 'db_user', 'db_pass', '50', 'ISYS_LANGUAGE_GERMAN', 'de');- You can also use another frontend than the mysql-client if you like.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login