Ok I followed this tutorial here and created a hooks_custom.xml file
https://vborg.vbsupport.ru/showthrea...t=create+hooks
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <hooks>
- <hooktype type="My Custom Hooks">
<hook>cushook_header_latest_album</hook>
</hooktype>
</hooks>
Edited my header to include
Code:
<div id="header_album">{vb:raw template_hook.cushook_header_latest_album}</div>
Put this line in the plugin
PHP Code:
$template_hook['cushook_header_latest_album'] .= $templater->render();
And still nothing shows up, what am I missing?