I need to add a simple form to my site, in previous versions of geeklog I added my form through a custom file from the "layout/theme"" and I got it with:
Text Formatted Code
$form_templates = new Template ($_CONF['path_layout'] . 'custom');
$form_templates->set_file('editor','editor.thtml');
...
I have migrated to the most recent version and I see that it does not work, since it does not take into account my form, I have noticed that the class has changed
Text Formatted Code
$form_templates = COM_newTemplate(...
...
Text Formatted Code
$group_templates = COM_newTemplate(CTL_core_templatePath($_CONF['path_layout'] . 'admin/group'));
...
Text Formatted Code
$link_templates = COM_newTemplate(CTL_plugin_templatePath('links', 'admin'));
...
Text Formatted Code
$form_templates = COM_newTemplate($_CONF['path_layout'] . 'custom');
...