Set up further organizations
When it is advisable to set up further organizations ?
Admidio can manage multiple organizations. All data has always been stored as a function of one organization. After the initial installation of Admidio, one organization is available, which can be further set up. Via a wizard, any number of additional organizations can be added later.
By multi-organizational we mean that organizations that have some relationship with each other share one Admidio database. The individual organizations can have their own websites or share a common website.
Organizations that share an Admidio database can access a common person master. If a user works in more than one of these organizations, only one profile is stored for him in the database, which is displayed in all organizations. If the user updates this in organization X, organization Y can view this directly. The assignment to the organizations can be done here, as usual, freely by role assignments. Users with the appropriate rights can access the complete person master and thus make a user, who was previously only set up in organization X, conveniently also a member of their own organization through role assignment. The rights management is still role-dependent, so that a user can be an administrator in one organization and only have the right to maintain his profile in the other organization.
How do I set up another organization?
- The new organization has now been successfully set up.
The following data has been added:- The logged in user has become an administrator of the new organization.
- The new organization has got the roles: Administrator, Board and Members.
- Various categories have been added to the organization, including global categories.
- The list configurations Address list, Phone list, Contact details, Membership and Participants have been added.
- If you now call the login dialog, a new field Organization appears where you can select the previous and the new organization. Here always the organization from the parameter
$g_organization
of the configuration file is preselected. To log in to the other organization, it must be selected and the user must be a member of at least one role of that organization.
How do I set up a separate installation of another organization ?
If you have set up more than one organization in your database, there is only one organization from which the data for logged out users is displayed. This is the organization from the parameter $g_organization
of the configuration file. The other organizations can be selected during login and are therefore only available to logged in users.
However, if you want to run other organizations as a standalone website, where the data is displayed even when logged out, you need to set up separate Admidio installations for these organizations.
For this purpose the following steps are necessary:
- The database is set up for the new organization as described in the previous chapter.
- Now you need to set up a new web space. To do this, download exactly the same Admidio version as in your initial configuration and place it in a new location on your server.
If you have been using Admidio 4.1.x so far, the new organization must also get version 4.1.x. The version 4.0.x would cause problems. If exactly this version is no longer available, the initial configuration should be updated to the latest version and then this version should also be used for the new organization. Older versions of Admidio are still available at Sourceforge. - Do no installation or update on the new instance.
- Now copy the config.php of your source installation from the folder
adm_my_files
to the new folderadm_my_files
of your new installation. Then you have to change the variables$g_root_path
and$g_organization
accordingly. Make sure that the variable$g_root_path
in the configuration file points to the correct path of your new organization. - Now you can log in to the new organization with the administrator's credentials and continue setting up Admidio.
If the organization selection box should no longer be displayed in the login dialog, it can be switched off in the Settings under Organization with the checkbox Display organization selection.
For future updates, make sure that all installations have the same major version. So organization A has version 4.1 and organization B must then also have version 4.1. If organization B had version 4.0 there would be errors on the page. The sub-version e.g. 4.1.7 can differ, but a synchronous version is recommended here.