ochFoundation5 1.4.2 for Joomla 4.3+

Version
1.4.2
Maturity
Stable
Release Date
2023-11-20
Changelog
Change
Rename language files to J4 /J5 filename convention (dropping language code in filename)
Change
Update PDFjs from version 3.11.174 to 4.0.189
Change
Move PDFjs from media to vendor directory in plugin > + layout change!
Change
Implement joomla.asset.json to load init script files
Notes

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

Installation Notes

Joomla! 4.4 PHP 8.1 PHP 8.2

Joomla! 5.0 Joomla! 5.1 PHP 8.1PHP 8.2 PHP 8.3

See: Documentation