Set up further organizations

When it is advisable to set up further organizations ?

Admidio has been designed to handle different organizations. All data were always stored in a function of an organization. However, you had to manually set up to version 2.1 any other organization. Since version 2.1, there is a wizard for this purpose, which performs this task, thus greatly simplifies the setup for each user.

Under more efficient organization we understand that organizations that are involved in any relationship to each other, share a common Admidio database. The individual organizations can have their own websites, or share a common website.

Organizations that share a Admidio database can access to common registrations of members. If a user is active in several of these organizations, so just one profile of the user is stored in the database, which is available in all organizations. If the user Updates the profile in organization X, so organization Y can see this directly. The allocation to the organizations can here, as usual, freely be done through role assignments. Users with appropriate permissions can access to all registered users and set up a user who was previously established only in Organization X, conveniently by role assignment also to be a member of the own organization. The permission management is still depending on on roles, so that a user in an organization can be webmasters and in the other organization has only the right to maintain the own profile.

How do I set up another organization ?

  1. First, you have to download your current Admidio Version again Download Version again.
  2. Now you copy the folder adm_install only in the directory of your existing output configuration.
  3. Now start the wizard by visiting the following script:
    http://www.your-admidio-installation.de/adm_install/new_organization.php 
  4. The wizard now first wants to know the abbreviation and the name of the new organization.
    Indication of the abbreviation and the organization name
  5. In the next step you need to have a valid registration of a webmaster indicate this is thus also automatically webmaster and first member of the new organization.
    Login as Webmaster
  6. In the last step of the wizard, a configuration file is created, which you can download and save. This allows the new organization to run on another web space with a separate file system. However, you have to adapt in the configuration file the variable $g_root_path to the other domain / subdomain / folder accordingly. Now you can press the button Set up organization and the new organization will be set up in the database.
    Download Configuration file
  7. The new organization will be ready in the database. If you call now the login dialog, so there is, since version 2.3 shown, a new field Organization in which the previous and the new organization can be selected. It is always preselected the organization of the config.php. To sign up for the other organization this must be selected and the user must be a member of at least one role of this organization.
    Choose Organization

How do I set up a separate installation of another organization ?

If you have more than one organization established in a database, so there is only once an organization from which the data for logged out users are displayed. This is the organization of the config.php. The other organizations can be selected during the registration and therefore are only available for registered users.

But if you want to run even more organizations as an independent website, in which the data is displayed also if a user is logged out, so a separate Admidio installations must be set up for these organizations.

The following steps are necessary:

  1. The database for the new organization is set up, as described in the previous chapter.
  2. Now you have to set up a new web space. Charging to the exact same Admidio version, as previously used in your initial configuration, and put them down in a new place on your server.
    Did you have Admidio 2.3.x installed, the new organization must also get the version 2.3.x. The 2.2.x would cause problems. If this version is no longer available exactly the initial configuration should be updated to the latest version and then this version can also be used for the new organization.
  3. Now delete immediately the folder adm_install and donĀ“t start an installation or update.
  4. Copy only the downloaded config.php, descripted in the previous section, into the main folder of your new Admidio installation. If you no longer have this file, you can take the config file of your original installation and adjust the variables $g_organization and $g_root_path. Make sure at once again that the variable $g_root_path points in the configuration file to the correct path of your new organization.
  5. Now you can login with data of the webmaster and set up the new organization.

If the Organisation selection box shall no longer be viewed in the logon dialog, so this can be adjusted in the Organization Settings under Organizational and Regional Settings with Organization Selection Show switched to off.

In future updates, make sure that all the installations have the same major version. So Organisation A has version 2.3 and Organization B must then also have the version 2.3. Had organization B version 2.2 would arrive there on the page errors. The minor version, for example, 2.3.2 may vary, recommended is here but also a synchronous version level.

  • en/2.0/mehrere_organisationen_verwalten.txt
  • Last modified: 2015/10/12 21:14
  • by thomas-rcv