Update V3.4 ยป V3.5

There are a few updates for PHP 8.2 as well as small bug fixes.

ModMaker

Modules with multiple image upload now have an input field for the alt attribute for each image. The alt attribute is used in the lightbox as descriptive text.

Consents

The cookie settings button is now accessible via a CSS class instead of an ID. For example, you can activate a deactivated leaflet map directly via an information text.

Mail delivery

Mails can now also be sent via SMTP. The SMTP access data must be entered in the /settings/smtp.php file (Infos).

JS Minifier

JSMinPlus is getting old and has problems with current Javascript syntax. JShrink does the job now.

Timestamps in compressed files

The timestamp from the filenames of compressed CSS and JS files has been removed and appended as a parameter.

Rewriting

The rewriting of the URLs has been removed from the .htaccess. The request is now processed by PHP. The $webutler_config['urlgetvars'] variable has been removed from globalvars.php.

Column elements

Removed the ability to enter the space up in the Columns tool. In times of responsive design, static spacing makes no sense. The $webutler_config['insertmargin'] variable has been removed from globalvars.php.

New columns can be inserted before or after elements using the wb_frameelement and wb_columnselement classes. Previously, columns could also be inserted before or after elements with the wb_contentelement class, i.e. single-column elements.

To maintain functionality, all pages in /pages must be opened. Then wrap a DIV with class wb_frameelement around DIVs with class wb_contentelement if they are not inside a wb_columnselement nest. Then give the DIV with the wb_contentelement class the wb_framecontent class as well.

Beforehand:

<div class="wb_contentelement"> ... Content ... </div>

Afterward:

<div class="wb_frameelement">
<div class="wb_framecontent wb_contentelement"> ... Content ... </div>
</div>

There are customizations in the columns CSS file /content/columns/source/csscolumns.php.

Fonts

Webfont and TrueType fonts are now in separate folders. The new folder structure is: /includes/fonts/webfonts and /includes/fonts/truetype

Update from version 3.4 - What to do?

  1. Delete the index.php and .htaccess files from the root directory and replace them with the new ones.
  2. Delete the /admin directory and replace it with the new one.
  3. Replace the /wbclass.php and /mmclass.php files in the /includes directory with the new files.
  4. Delete the /includes/modexts/phpmailer directory and replace it with the new one.
  5. Upload the file /settings/smtp.php and enter SMTP access data if necessary.
  6. Delete the file /includes/forms/sendform.php and replace it with the new one.
  7. Delete the files /includes/users/sendmail.php and /includes/users/userspage.php and replace them with the new ones.
  8. Delete the /includes/consents directory and replace it with the new one.
  9. Rename the files in the /content/compress directory:
    - script_TIMESTAMP.js becomes scripts.js
    - style_TIMESTAMP.css becomes styles.css
  10. The lightbox didn't display the alt attribute of the images. The /content/javascript/lightbox/lightbox_plus.js file must be updated with the new one.
  11. Create the new directory structure /includes/fonts/webfonts and /includes/fonts/truetype and distribute the font files from the old /webfonts directory accordingly.
    - The path to the web fonts must then be adjusted in the CSS file.
  12. Move the /includes/leaflet directory to /content/javascript/leafletmap.
  13. If necessary, open all pages in /pages and put a DIV with the class wb_frameelement around DIVs with the class wb_contentelement. Give the DIV with the wb_contentelement class the wb_framecontent class as well.
  14. Compare the file /content/columns/source/csscolumns.php with your own and replace it if necessary or add your own file.