Hi,
I've recently installed v4.2 locally (on a dev box), and am in the process of doing a major customisation exercise to integrate it with my website.
I've created three block plugins to inject stuff into layout.tpl, and I've found two bugs:
- everything was being injected at the top of the page, instead of at the appropriate block tag. I tracked this down to function loadPlugin in forum/sys/CODOF/Plugin.php -- the if is the wrong way round, line 71 should be:
if ($plugin['plg_type'] !== 'plugin') { - the list of plugins is not being loaded on page (for example) forum/admin/index.php?page=ui/blocks&action=editblock&id=5 -- I haven't tracked this one down yet, but have worked around it for now by manually setting the module column in table codo_blocks.
Cheers,
Richard.
Hi,
I've recently installed v4.2 locally (on a dev box), and am in the process of doing a major customisation exercise to integrate it with my website.
I've created three block plugins to inject stuff into layout.tpl, and I've found two bugs:
1. everything was being injected at the top of the page, instead of at the appropriate *block* tag. I tracked this down to function *loadPlugin* in *forum/sys/CODOF/Plugin.php* -- the if is the wrong way round, line 71 should be:
````
if ($plugin['plg_type'] !== 'plugin') {
````
2. the list of plugins is not being loaded on page (for example) forum/admin/index.php?page=ui/blocks&action=editblock&id=5 -- I haven't tracked this one down yet, but have worked around it for now by manually setting the module column in table codo_blocks.
Cheers,
Richard.
edited Jan 16 '18 at 12:21 pm