1
I had the following situation:
I want to add some features to Agendax. Therefor i need a new template, so i edited xoops_version.php in /modules/agendax:
// Template für Veranstaltermod
$modversion['templates'][14]['file'] = 'agendax_veranstalterbereich.html';
$modversion['templates'][14]['description'] = 'Veranstalterberich';
After updating the module i had to generate the template for my templateset by clicking the generate button (i think u know what i mean).
But now its impossible to edit the template because there IS NO template according to the tpl_id. I had to create a new tpl in phpmyadmin:
INSERT INTO xoops_tplsource (tpl_id, tpl_source) VALUES ('330', 'test');
After that i was able to edit the template in the admin area for templates.
So, is it a bug?