Next revision | Previous revision |
en:2.0:aenderungshistorie_fuer_themes_43 [2024/01/11 20:59] – created fasse | en:2.0:aenderungshistorie_fuer_themes_43 [2025/02/15 09:16] (current) – fasse |
---|
| |
If your changes are bigger and you don't want to simply replace the theme folder, all changes are documented here and you have to add them to your theme yourself. Check which version of Admidio you have used so far and look for an entry that corresponds to this version or higher. You have to update all documented changes from this entry on. | If your changes are bigger and you don't want to simply replace the theme folder, all changes are documented here and you have to add them to your theme yourself. Check which version of Admidio you have used so far and look for an entry that corresponds to this version or higher. You have to update all documented changes from this entry on. |
| |
| ===== Version 4.3.14 ===== |
| * Search within the file ''adm_themes/simple/templates/sys-template-parts/parts/form.part.warning.tpl'' the following code (around line 2):<code html><div class="alert alert-warning mt-3" role="alert"></code> Replace the block with this code:<code html><div id="{$id}_alert" class="alert alert-warning mt-3" role="alert"></code> |
| |
| ===== Version 4.3.10 ===== |
| * Add within the file ''adm_themes/your-selected-theme/css/admidio.css'' the following code (around line 537):<code css>.card-img, .card-img-top { |
| height: 200px !important; |
| object-fit: cover !important; |
| } |
| |
| .admidio-album-thumbnail .rounded { |
| width: 100% !important; |
| object-fit: cover !important; |
| }</code> |
| |
| ===== Version 4.3.8 ===== |
| * Add within the file ''adm_themes/your-selected-theme/css/admidio.css'' the following code (around line 418):<code css>.admidio-blog img, .admidio-card img { |
| max-width: 100%; |
| height: auto; |
| }</code> |
| |
| ===== Version 4.3.7 ===== |
| * Search within the file ''adm_themes/your-selected-theme/css/admidio.css'' the following code (around line 518)::<code css>.admidio-event-highlight .card-header, tr.admidio-event-highlight { |
| background-color: #cccccc; |
| }</code> Replace the block with this code: <code css>.admidio-event-highlight .card-header, tr.admidio-event-highlight { |
| background-color: #cccccc !important; |
| }</code> |
| |
===== Version 4.3.0 ===== | ===== Version 4.3.0 ===== |
When updating from version 4.2 or newer, the following files in the theme folder must be adjusted.\\ | When updating from version 4.2.13 or newer, the following files in the theme folder must be adjusted.\\ |
(if you have not made changes everywhere, you can also simply replace entire folders and, for example, only adjust the CSS folder manually) | (if you have not made changes everywhere, you can also simply replace entire folders and, for example, only adjust the CSS folder manually) |
| |
| |
* Search in the file ''adm_themes/your-selected-theme/templates/index.tpl'' for the following code (approx. line 153):<code html> {$menuFunctions->getHtml()}</code> Replace this block with the following code:<code html>{include file='sys-template-parts/menu.functions.tpl'}</code> | * Search in the file ''adm_themes/your-selected-theme/templates/index.tpl'' for the following code (approx. line 153):<code html> {$menuFunctions->getHtml()}</code> Replace this block with the following code:<code html>{include file='sys-template-parts/menu.functions.tpl'}</code> |
| |
* Search in the file ''adm_themes/your-selected-theme/templates/overview.tpl'' for the following code (approx. line 45):<code html><div class="admidio-overview-plugin col-sm-6 col-lg-4 col-xl-3" id="admidio-plugin-sidebar-dates"> | * Search in the file ''adm_themes/your-selected-theme/templates/overview.tpl'' for the following code (approx. line 38):<code html><div class="admidio-overview-plugin col-sm-6 col-lg-4 col-xl-3" id="admidio-plugin-sidebar-announcements"> |
<div class="card admidio-card"> | <div class="card admidio-card"> |
<div class="card-body"> | <div class="card-body"> |
{load_admidio_plugin plugin="sidebar_dates" file="sidebar_dates.php"} | {load_admidio_plugin plugin="sidebar_announcements" file="sidebar_announcements.php"} |
</div> | </div> |
</div> | </div> |
</div></code> Replace this block with the following code:<code html><div class="admidio-overview-plugin col-sm-6 col-lg-4 col-xl-3" id="admidio-plugin-event-list"> | </div></code> Replace this block with the following code:<code html><div class="admidio-overview-plugin col-sm-6 col-lg-4 col-xl-3" id="admidio-plugin-announcement-list"> |
<div class="card admidio-card"> | <div class="card admidio-card"> |
<div class="card-body"> | <div class="card-body"> |
{load_admidio_plugin plugin="event-list" file="event-list.php"} | {load_admidio_plugin plugin="announcement-list" file="announcement-list.php"} |
</div> | </div> |
</div> | </div> |
</div></code> | </div></code> |
| |
* Search in the file ''adm_themes/your-selected-theme/templates/overview.tpl'' for the following code (approx. line 38):<code html><div class="admidio-overview-plugin col-sm-6 col-lg-4 col-xl-3" id="admidio-plugin-sidebar-announcements"> | * Search in the file ''adm_themes/your-selected-theme/templates/overview.tpl'' for the following code (approx. line 45):<code html><div class="admidio-overview-plugin col-sm-6 col-lg-4 col-xl-3" id="admidio-plugin-sidebar-dates"> |
<div class="card admidio-card"> | <div class="card admidio-card"> |
<div class="card-body"> | <div class="card-body"> |
{load_admidio_plugin plugin="sidebar_announcements" file="sidebar_announcements.php"} | {load_admidio_plugin plugin="sidebar_dates" file="sidebar_dates.php"} |
</div> | </div> |
</div> | </div> |
</div></code> Replace this block with the following code:<code html><div class="admidio-overview-plugin col-sm-6 col-lg-4 col-xl-3" id="admidio-plugin-announcement-list"> | </div></code> Replace this block with the following code:<code html><div class="admidio-overview-plugin col-sm-6 col-lg-4 col-xl-3" id="admidio-plugin-event-list"> |
<div class="card admidio-card"> | <div class="card admidio-card"> |
<div class="card-body"> | <div class="card-body"> |
{load_admidio_plugin plugin="announcement-list" file="announcement-list.php"} | {load_admidio_plugin plugin="event-list" file="event-list.php"} |
</div> | </div> |
</div> | </div> |
</div></code> | </div></code> |
| |
* Search in the file ''adm_themes/your-selected-theme/templates/overview.tpl'' for the following code (approx. line 45):<code html><div class="admidio-overview-plugin col-sm-6 col-lg-4 col-xl-3" id="admidio-plugin-sidebar-online"> | * Search in the file ''adm_themes/your-selected-theme/templates/overview.tpl'' for the following code (approx. line 52):<code html><div class="admidio-overview-plugin col-sm-6 col-lg-4 col-xl-3" id="admidio-plugin-sidebar-online"> |
<div class="card admidio-card"> | <div class="card admidio-card"> |
<div class="card-body"> | <div class="card-body"> |