.card-img, .card-img-top {
height: 200px !important;
object-fit: cover !important;
}
.admidio-album-thumbnail .rounded {
width: 100% !important;
object-fit: cover !important;
}
===== Version 4.3.8 =====
* Add within the file ''adm_themes/your-selected-theme/css/admidio.css'' the following code (around line 418):.admidio-blog img, .admidio-card img {
max-width: 100%;
height: auto;
}
===== Version 4.3.7 =====
* Search within the file ''adm_themes/your-selected-theme/css/admidio.css'' the following code (around line 518)::.admidio-event-highlight .card-header, tr.admidio-event-highlight {
background-color: #cccccc;
}
Replace the block with this code: .admidio-event-highlight .card-header, tr.admidio-event-highlight {
background-color: #cccccc !important;
}
===== Version 4.3.0 =====
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)
* Add the folder ''adm_themes/your-selected-theme/templates/modules'' to your theme. You can take this from the Simple theme from our package.
* The following files must be //added// to the corresponding theme folder. You can take this from the Simple theme from our package.
* ''adm_themes/your-selected-theme/templates/sys-template-parts/form.select.tpl''
* ''adm_themes/your-selected-theme/templates/sys-template-parts/form.static.tpl''
* ''adm_themes/your-selected-theme/templates/sys-template-parts/menu.functions.tpl''
* ''adm_themes/your-selected-theme/templates/sys-template-parts/menu.main.tpl''
* The following file must be //replaced// in the corresponding theme folder:
* ''adm_themes/your-selected-theme/templates/message.tpl''
* ''adm_themes/your-selected-theme/templates/message_modal.tpl''
* Search in the file ''adm_themes/your-selected-theme/templates/index.tpl'' for the following code (approx. line 40):// function to handle modal window and load data from url
$('.openPopup').on('click',function(){
Replace this block with the following code:// function to handle modal window and load data from url
$(document).on('click', '.openPopup', function (){
* Search in the file ''adm_themes/your-selected-theme/templates/index.tpl'' for the following code (approx. line 112):
Replace this block with the following code:
{$menuSidebar->getHtml()}{include file='sys-template-parts/menu.main.tpl'}
* Search in the file ''adm_themes/your-selected-theme/templates/index.tpl'' for the following code (approx. line 83):{$l10n->get('PRO_MY_PROFILE')}
Replace this block with the following code:{$l10n->get('SYS_MY_PROFILE')}
* Search in the file ''adm_themes/your-selected-theme/templates/index.tpl'' for the following code (approx. line 153): {$menuFunctions->getHtml()}
Replace this block with the following code:{include file='sys-template-parts/menu.functions.tpl'}
* Search in the file ''adm_themes/your-selected-theme/templates/overview.tpl'' for the following code (approx. line 38):
{load_admidio_plugin plugin="sidebar_announcements" file="sidebar_announcements.php"}
Replace this block with the following code:
{load_admidio_plugin plugin="announcement-list" file="announcement-list.php"}
* Search in the file ''adm_themes/your-selected-theme/templates/overview.tpl'' for the following code (approx. line 45):
{load_admidio_plugin plugin="sidebar_dates" file="sidebar_dates.php"}
Replace this block with the following code:
{load_admidio_plugin plugin="event-list" file="event-list.php"}
* Search in the file ''adm_themes/your-selected-theme/templates/overview.tpl'' for the following code (approx. line 52):
{load_admidio_plugin plugin="sidebar_online" file="sidebar_online.php"}
Replace this block with the following code:
{load_admidio_plugin plugin="who-is-online" file="who-is-online.php"}