20
Hello everybody,
I've installed XOOPS to improve my web comunity and I am doing some tests.
What I am trying is to set up a new menu item 'Test' that shows a list obtained from a database table records.
1.- I've got the XoopsObjectHandler and the XoopsObject created with module DAO Generator.
2.- I've copied notifications.php to tests.php and made some modifications, everything ok here.
3.- I've copied system_notification_list.php to system_tests_list.php and here comes the problem.
My error is :
Warning: Smarty error: unable to read resource: "db:system_tests_list.html" in file /class/smarty/Smarty.class.php line 1095
And the SQL sentence is :
SELECT f.*, s.tpl_source FROM regalos_tplfile f LEFT JOIN regalos_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_tests_list.html') ORDER BY tpl_refid
I see the template is not at regalos_tplfile and of course I'm not inserting it by hand.
How is the right way to do this full proccess?
Please help.