Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:2.0:aenderungshistorie_fuer_themes_4 [2021/01/06 08:53] – created fasseen:2.0:aenderungshistorie_fuer_themes_4 [2021/10/15 08:28] (current) fasse
Line 1: Line 1:
 ====== Change history for themes in version 4 ====== ====== Change history for themes in version 4 ======
-This page lists all changes in the theme folder for the **Simple** theme within version 4. If you are still using version 3, please update to version 4 first. This will also replace the complete theme folder. If you are already using version 4.x and want to update to a newer version 4.y, this page can help you.+This page lists all changes in the theme folder for the **Simple** theme within version 4. If you are still using version 3, please [[en:2.0:update_to_version_4|update to version 4]] first. This will also replace the complete theme folder. If you are already using version 4.x and want to update to a newer version 4.y, this page can help you.
  
 The changes shown here always refer to our default theme **Simple**. If you have made changes here, you may have to take them into account in the customizations. If you haven't made any changes to the theme yet, or if you can restore them yourself relatively easily, you can simply replace the theme folder.  The changes shown here always refer to our default theme **Simple**. If you have made changes here, you may have to take them into account in the customizations. If you haven't made any changes to the theme yet, or if you can restore them yourself relatively easily, you can simply replace the theme folder. 
  
 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.0.6 =====
 +  * The file ''adm_themes/your-choosen-theme/templates/overview.tpl'' must be replaced.
 +  * Search in the file ''adm_themes/your-choosen-theme/css/admidio.css'' for the following code  (around the line 551):<code css>.admidio-roles, .admidio-album {
 +    border: none;
 +    background-color: #eeeeee;
 +    margin-top: 15px;
 +    margin-bottom: 15px;
 +}
 +
 +.admidio-roles li {
 +    padding-left: 0px;
 +    padding-right: 0px;
 +    background-color: #eeeeee;
 +}</code> Replace the block with the following code:<code css>.admidio-card {
 +    border: none;
 +    background-color: #eeeeee;
 +    margin-top: 15px;
 +    margin-bottom: 15px;
 +    height: 95%;
 +}
 +
 +.admidio-card li {
 +    padding-left: 0px;
 +    padding-right: 0px;
 +    background-color: #eeeeee;
 +}</code> 
 +
 +===== Version 4.0.4 =====
 +  * The file ''adm_themes/your-choosen-theme/templates/overview.tpl'' must be replaced.
 +  * Search the file ''adm_themes/your-choosen-theme/templates/index.tpl'' for the following code  (around line 83):<code html>          {if $validLogin}
 +            <ul class="navbar-nav ml-auto">
 +              <li class="nav-item">
 +                <a class="nav-link" href="{$urlAdmidio}/adm_program/modules/profile/profile.php">{$l10n->get('PRO_MY_PROFILE')}</a>
 +              </li>
 +              <li class="nav-item">
 +                <a class="nav-link" href="{$urlAdmidio}/adm_program/system/logout.php">{$l10n->get('SYS_LOGOUT')}</a>
 +              </li>
 +            </ul>
 +          {else}
 +            <ul class="navbar-nav ml-auto">
 +              <li class="nav-item">
 +                <a class="nav-link" href="{$urlAdmidio}/adm_program/system/login.php">{$l10n->get('SYS_LOGIN')}</a>
 +              </li>
 +              {if $registrationEnabled}
 +                <li class="nav-item">
 +                  <a class="nav-link" href="{$urlAdmidio}/adm_program/modules/registration/registration.php">{$l10n->get('SYS_REGISTRATION')}</a>
 +                </li>
 +              {/if}
 +            </ul>
 +          {/if}</code> Replace the above code with the following:<code html>            <ul class="navbar-nav ml-auto">
 +            {if $validLogin}
 +                <li class="nav-item">
 +                    <a class="nav-link" href="{$urlAdmidio}/adm_program/modules/profile/profile.php">{$l10n->get('PRO_MY_PROFILE')}</a>
 +                </li>
 +                <li class="nav-item">
 +                    <a class="nav-link" href="{$urlAdmidio}/adm_program/system/logout.php">{$l10n->get('SYS_LOGOUT')}</a>
 +                </li>
 +            {else}
 +                <li class="nav-item">
 +                    <a class="nav-link" href="{$urlAdmidio}/adm_program/system/login.php">{$l10n->get('SYS_LOGIN')}</a>
 +                </li>
 +                {if $registrationEnabled}
 +                    <li class="nav-item">
 +                        <a class="nav-link" href="{$urlAdmidio}/adm_program/modules/registration/registration.php">{$l10n->get('SYS_REGISTRATION')}</a>
 +                    </li>
 +                {/if}
 +            {/if}
 +            </ul></code> 
 +  * Search the file ''adm_themes/your-choosen-theme/css/admidio.css'' for the following code (around line 551):<code css>#plgCalendarTable td.plgCalendarToday {
 +    background-color: #324b64;
 +    border-radius: 5px;
 +    color: white;
 +}</code> Add the following code after this code block:<code css>#plgCalendarTable td {
 +    text-align: center;
 +}</code> 
 +
 +===== Version 4.0.3 =====
 +  * The file ''adm_themes/your-choosen-theme/images/admidio_logo.png'' must be replaced.
 +  * Search the file ''adm_themes/your-choosen-theme/css/admidio.css'' for the following code (around line 26):<code css>#admidio-main-navbar .navbar-brand img {
 +    margin-right: 10px;
 +    margin-top: -15px;
 +}</code> Replace the above code with the following:<code css>#admidio-main-navbar .navbar-brand img {
 +    margin-right: 10px;
 +}</code> 
 +  * Search the file ''adm_themes/dein-ausgewähltes-Theme/css/admidio.css''  for the following code (around line 551):<code css>#plgCalendarTable {
 +    width: 100%;
 +}</code> Add the following code after this code block:<code css>#plgCalendarTable td.plgCalendarToday {
 +    background-color: #324b64;
 +    border-radius: 5px;
 +    color: white;
 +}</code> 
  
 ===== Version 4.0.2 ===== ===== Version 4.0.2 =====
-  * Search the adm_themes/simple/css/admidio.css file for the following code (around line 187):<code css>.btn-group-vertical {+  * Search the file ''adm_themes/your-choosen-theme/css/admidio.css'' for the following code (around line 187):<code css>.btn-group-vertical {
     display: block;     display: block;
 }</code> Add the following code after this code block:<code css>/* show vertical btn group in mobile view */ }</code> Add the following code after this code block:<code css>/* show vertical btn group in mobile view */
  • en/2.0/aenderungshistorie_fuer_themes_4.1609919603.txt.gz
  • Last modified: 2021/01/06 08:53
  • by fasse