This translation is older than the original page and might be outdated. See what has changed.

This is an old revision of the document!


Tips and tricks

Editing and saving files, it could result the following error when viewing the page:


Warning: Cannot modify header information - headers already sent by (output started at 
serverpfad/config.php:1) in /serverpfad/index.php on line 6

If this message (individual information in the message may be different)is shown, the file is saved incorrectly as UTF8 file. Admidio expect all the files in the UTF-8 encoding without BOM. The default setting for most editors is UTF-8 with BOM. However, since PHP with the BOM can not cope, and the above error message ejects, you have to set up your editor that UTF-8 will be saved without BOM.

If your editor does not offer this possibility, you have the following options:

Windows
Here we recommend the Editor Notepad++. This editor is Open Source and a good replacement for Notepad included in Windows, but you also need to explicitly select UTF-8 without BOM here when you save. This is not the default setting of the editor.

OS X und Linux
Here it is quite easy if you know the console and the editor Vim . Open the file with Vim and enter : set nobomb . Now save the file, and everything will be fine.

Since version 2.2 that most plugins headings that appear above the plug-in content. If these shall not be displayed, because you want to use an own headine on your homepage, or it just does not fit into the layout of the page, so you can remove these headers with a simple CSS snippets. For this you add the following code in the system.css in your theme folder in the subfolder css:

.admPluginHeader {
    display:            none;
}

If you want to quickly assign multiple users in a specific role, so you can make this even with the import function. For this purpose, you create an Excel list with first name and surname of the person that should get assigned to the role. If necessary, you can export a list from a different role and do your adjustments there.

This spreadsheet you now choose for the import with selection Existing users type complete. In the next step you assign the mandatories, then the users are imported and the role assignment are created. Due to users were already added and also no changes in field contents are made so far, the role assignments are created quickly and easily.

Icons
In the folder icons of the selected Theme you can find all the icons that are used in Admidio. All icons are either 16×16 (eg ) or 32×32 (eg ) pixels in size. Should you want to change the existing icons, simply replace the existing files with your own. Here you should make sure that you adjust the size accordingly. Some symbols are used in both sizes. To help your users to find a uniform image, you should renew both formats.

Other used graphics
Some of the graphics used for the “modern” layout are provided as Photoshop raw data. Thus, for example, the colors quite easy can be adapted. Another tip: After the changes use “File> Save for Web & Devices” to simply convert to PNG and save it in the correct folder.

no_profile_pic
This graphic is displayed when a user has uploaded no own avatar to the profile.http://www.admidio.org/daten/no_profile_pic.psd

If you want to move a running Admidio on the FTP server to another folder, so this is very easy. In the first step, of course, you have all move all adm_ folders and the index.php to the new folder on an FTP program. Now you still have to edit the config.php in the folder adm_my_files and update $ g_root_path to the new folder. Now you can call Admidio about the new folder. Login as Webmasters and now still go in the settings. There you have yet under General The values for the Home to check. If these are also affected by the move folders, you need to adjust this even more.

Now Admidio is running in the new folder.

  • en/2.0/probleme_rund_um_admidio.1444506801.txt.gz
  • Last modified: 2015/10/10 21:53
  • by thomas-rcv