ochFoundation5 1.4.2 for Joomla 4.3+

Versie
1.4.2
Volwassenheidsniveau
Stable
Datum van publicatie
2023-11-20
Wijziging log
Wijziging
Rename language files to J4 /J5 filename convention (dropping language code in filename)
Wijziging
Update PDFjs from version 3.11.174 to 4.0.189
Wijziging
Move PDFjs from media to vendor directory in plugin > + layout change!
Wijziging
Implement joomla.asset.json to load init script files
Notities

Starting with version 1.4.2 ochFoundation5 uses the latest modularized PDFjs scripts. These scripts have a file extension of .mjs. If the pdf is not loading the the browser and in the browser console you see the following error: Loading module from “[yourdomain]/plugins/system/ochfoundation5/vendor/pdfjs/build/pdf.mjs” was blocked because of a disallowed MIME type (“text/octet-stream”).
Then you are likely running an old version of apache and need to add the following code to your .htaccess:
<IfModule mod_mime.c>
    AddType text/javascript .mjs
</IfModule>
More information can be found here: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Configuring_server_MIME_types

This version has experimental (!) support for adding PowerPoint presentations to your content using Google Docs viewer using the following tag.

{ presentation file="/path/to/presentation-file.pptx" class="" id="123" height="300px" width="600px" title="title for the embedded presentation" description="short description" clicktoload="true" frameborder="0" layout="" start="" end=""}

This version now has advanced ochElements Integration, read more on this new feature in the blog: [How To] Advanced ochElements Integration

Installatie notities

Joomla! 4.4 PHP 8.1 PHP 8.2

Joomla! 5.1 Joomla! 5.2 PHP 8.1PHP 8.2 PHP 8.3

See: Documentation