I am using the Questions module, version 1.0.1.
Every time I try to use a different summary template:
{cms_module module=Questions summarytemplate="test"}
I get this error on the page:
string(69) "Smarty error: unable to read resource: "module_db_tpl:Questions;test""
(I have of course created a summary template called test).
I would really like to get around this as Id like to have different displays on my home page and on my main FAQ page.
You can see the working questions module here:
http://www.shareworld.co.uk
and here
http://www.shareworld.co.uk/index.php?page=questions
Just for the record, I dont know alot about php programming or about mysql, but I know my way round a computer and I am quite keen to start getting involved in cmsms on the development side so although a solution would be great, if anyone can point me in the right dirrection to troubleshooting the problem, Id be happy to have a mess around my self.
Using different summary templates in questions module [SOLVED]
Using different summary templates in questions module [SOLVED]
Last edited by davids355 on Sun Nov 02, 2008 11:54 am, edited 1 time in total.
Re: Using different summary templates in questions module
Could someone even give me some pointers on where to start with this? Im sort of guessing that the reference "module_db_tpl" is a table in the database? If it is, then its not present, could I create it? or is it more complicated than that?
Any help at all will be much appreciated.
thanks...
Any help at all will be much appreciated.
thanks...
Re: Using different summary templates in questions module
Hi again
!
Had to install Questions to see how it works..
I tried with your suggestion above and I got same error.
So I did take an look in my db in table cms_modules_templates and there I found:
template_name: summarytest
And then I did a test with {cms_module module=Questions summarytemplate=summarytest} and it worked!
...maybe there's a bug in this module
/Coldman

Had to install Questions to see how it works..
I tried with your suggestion above and I got same error.
So I did take an look in my db in table cms_modules_templates and there I found:
template_name: summarytest
And then I did a test with {cms_module module=Questions summarytemplate=summarytest} and it worked!
...maybe there's a bug in this module
/Coldman
Last edited by Coldman on Sun Nov 02, 2008 7:19 am, edited 1 time in total.
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
Re: Using different summary templates in questions module
Thanks alot Coldman your a genius! You dont know how long Ive been pestering this forum to get a solution for that! If you need anything just let me knoe; I owe you a favour.
I really need to learn a little more with regards to this system, how does module_db_tpl equate to table cms_modules_templates?
I really need to learn a little more with regards to this system, how does module_db_tpl equate to table cms_modules_templates?