Skrol29 / opentbs

With OpenTBS you can merge OpenOffice - LibreOffice and Ms Office documents with PHP using the TinyButStrong template engine. Simple use OpenOffice - LibreOffice or Ms Office to edit your templates : DOCX, XLSX, PPTX, ODT, OSD, ODP and other formats. That is the Natural Template philosophy.
http://www.tinybutstrong.com/opentbs.php
69 stars 17 forks source link

Autoload plugin #17

Closed byhaskell closed 3 years ago

byhaskell commented 3 years ago

Hello. Can't add plugin support. Sample code (one of the options):

$tbs = new OpenTBS();
$ok = class_exists('clsTbsAggregate', true);
$tbs->PlugIn(TBS_INSTALL, 'clsTbsAggregate');

After running the script, a notification will appear <br /><b>TinyButStrong Error</b> with plug-in 'clsTbsAggregate': no class named 'clsTbsAggregate' is found, and no function named 'tbspi_clsTbsAggregate_OnInstall' is found.<br />

At the same time, there is a class.

byhaskell commented 3 years ago

https://stackoverflow.com/questions/63703461/use-composers-autoload-to-load-opentbs-plugin-for-tinybutstrong This option did not work either. By the way, the version of "mbence / opentbs-bundle" is 1.9.7

byhaskell commented 3 years ago

Didn't create a question there, sorry!