1
MS-2001
a template thing
  • 2004/11/2 13:27

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


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?

Login

Who's Online

145 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 145


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits