Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:2.0:probleme_rund_um_admidio [2020/12/29 20:06] – fasse | en:2.0:probleme_rund_um_admidio [2024/11/29 17:23] (current) – [Mass assignment of roles using the import] greno | ||
---|---|---|---|
Line 5: | Line 5: | ||
This information includes (Examples): | This information includes (Examples): | ||
- | * PHP version (v7.1.2) | + | * PHP version (v8.2.5) |
* Database type + version (MySQL v10.1.2) | * Database type + version (MySQL v10.1.2) | ||
- | * Admidio version (v3.2.10) | + | * Admidio version (v4.2.12) |
- | * Used Plugins + versions (login form v1.7.1, sidebar announcements) | + | * Used Plugins + versions (statistics v3.1.2, written communication) |
* Own adjustments were made (different design, own code changes) | * Own adjustments were made (different design, own code changes) | ||
- | * Exception Messages -> View [[en: | + | * Exception Messages -> View [[en: |
- | * Logdatei Auszüge -> View [[en: | + | * Logdatei Auszüge -> View [[en: |
* Detailed instructions on how to make the mistake -> Non-reproducible errors are very hard to find | * Detailed instructions on how to make the mistake -> Non-reproducible errors are very hard to find | ||
- | * Screenshots if useful | + | * Screenshots if useful |
* If error after update -> Check if everything has been updated (Plugins, Libs, Theme, ...) | * If error after update -> Check if everything has been updated (Plugins, Libs, Theme, ...) | ||
Line 26: | Line 26: | ||
Now, exceptions and other fatal errors are shown directly to the web page, as well as extended information written to the log files. For each day a separate file is created. You can open and analyze these with any text editor. | Now, exceptions and other fatal errors are shown directly to the web page, as well as extended information written to the log files. For each day a separate file is created. You can open and analyze these with any text editor. | ||
< | < | ||
+ | |||
+ | ===== Include PHP code in template files ===== | ||
+ | Admidio uses the template engine [[https:// | ||
+ | |||
+ | PHP code cannot be included there for security reasons. If you still want to use your own PHP code in a template file, you can do this via a plugin. Create a new folder in the folder '' | ||
===== Problems in Photo Upload ===== | ===== Problems in Photo Upload ===== | ||
- | Some servers | + | Some servers |
* Folder **adm_photos** does not have the rights 777. | * Folder **adm_photos** does not have the rights 777. | ||
* Folder **adm_photos/ | * Folder **adm_photos/ | ||
Line 51: | Line 56: | ||
Here it is quite easy if you know the console and the editor [[http:// | Here it is quite easy if you know the console and the editor [[http:// | ||
- | ===== Not view topics of plugins ===== | + | ===== Mass assignment |
- | Most smaller plugins for embedding in other pages have headers that are displayed above the plugin 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**: | + | |
- | <code css> | + | |
- | display: | + | |
- | }</ | + | |
- | + | ||
- | ===== Mass role assignment using the import ===== | + | |
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. | 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 | + | This spreadsheet you now choose for the import with selection |
- | + | ||
- | ===== Modify graphics ===== | + | |
- | + | ||
- | **Other used graphics**\\ | + | |
- | Some of the graphics used for the " | + | |
- | + | ||
- | **no_profile_pic**\\ | + | |
- | This graphic is displayed when a user has uploaded no own avatar to the profile.[[http:// | + | |
===== Move Admidio folder ===== | ===== Move Admidio folder ===== | ||
Line 79: | Line 70: | ||
Now Admidio is running in the new folder. | Now Admidio is running in the new folder. | ||
+ | |||
+ | ===== Insert back link into theme ===== | ||
+ | From time to time it is useful to have a link that takes you back to the previous page. If you need this link, you can place it anywhere in the template file. Open the file '' | ||
+ | <!-- Add link to previous page --> | ||
+ | <a id=" | ||
+ | {/ |