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

This is an old revision of the document!


Change history for themes in version 4.1

This page lists all changes in the theme folder for the Simple theme within version 4.1. If you are still using version 4.0, check the dortigen page to see if you have made all changes within 4.0. If you are still using version 3, first update to version 4. This will also replace the complete theme folder. If you already use 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.

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 you update from version 4.1 or newer you have to adjust the following files in the theme folder. (if you haven't made changes everywhere, you can also just replace complete folders and adjust e.g. only the CSS folder manually)

  • The following files must be replaced in the corresponding adm_my_files folders:
    • adm_my_files/ecard_templates/greeting_card.tpl
    • adm_my_files/ecard_templates/postcard_separate_photo.tpl
    • adm_my_files/ecard_templates/postcard.tpl
  • The following files must be replaced in the appropriate Theme folders:
    • templates/js_css_files.tpl
  • Search in the file adm_themes/your-selected-theme/css/admidio.css for the following code (around line 156):
    /* default distance between elements */
    .admidio-blog, .admidio-field-group, .pagination,
    .admidio-info-created-edited, .admidio-img-presenter,
    .navbar-filter, .table-responsive, .admidio-content-header,
    .dataTables_wrapper, .admidio-margin-bottom, .admidio-row {
        margin-bottom: 40px;
    }

    Replace this block with the following code:

    /* default distance between elements */
    .admidio-blog, .admidio-field-group, .pagination,
    .admidio-info-created-edited, .admidio-img-presenter,
    .navbar-filter, .table-responsive, .admidio-content-header,
    .dataTables_wrapper, .admidio-margin-bottom, .admidio-row,
    .admidio-content-subheader {
        margin-bottom: 40px;
    }
  • Search in the file adm_themes/your-selected-theme/css/admidio.css for the following code (around line 206):
    .admidio-form-group-required label:after,
    .admidio-form-required-notice span:after {
        font-family: "Font Awesome 5 Free";
        font-size: 6pt;
        content: "\f111";
        color: #d91515;
        white-space: nowrap;
        vertical-align: super;
        margin-left: 3px;
    }

    Replace this block with the following code:

    .admidio-form-group-required .control-label:after,
    .admidio-form-group-required .checkbox label:after,
    .admidio-form-required-notice span:after {
        font-family: "Font Awesome 5 Free";
        font-size: 6pt;
        content: "\f111";
        color: #d91515;
        white-space: nowrap;
        vertical-align: super;
        margin-left: 3px;
    }
  • Search in the file adm_themes/your-selected-theme/css/admidio.css for the following code (around line 234):
    .form-control:focus, .select2-container--bootstrap.select2-container--focus .select2-selection,
    input[type=checkbox]:focus, button:focus {
        border-color: #349aaa;
        background-color: #d6ebee;
        box-shadow: none !important;
    }

    Replace this block with the following code:

    .form-control:focus, .select2-container--bootstrap4.select2-container--focus .select2-selection,
    input[type=checkbox]:focus, button:focus {
        border-color: #349aaa;
        background-color: #d6ebee;
        box-shadow: none !important;
    }
  • en/2.0/aenderungshistorie_fuer_themes_41.1641131870.txt.gz
  • Last modified: 2022/01/02 14:57
  • by fasse