Page 1 of 1

News template not working after upgrading to 1.1

Posted: Fri Jul 20, 2007 11:07 am
by GDS
After upgrading to CMS 1.1, my News template does not work anymore.
I recive this error message:
string(78) "Smarty error: unable to read resource: "module_db_tpl:News;summarymarquee.tpl""

The template is named marquee.tpl

Can someone help me with this?

GDS


Source Code:




Steinerskolenes Foreldreforbund - Statuslinje









string(78) "Smarty error: unable to read resource: "module_db_tpl:News;summarymarquee.tpl""





Re: News template not working after upgrading to 1.1

Posted: Fri Jul 20, 2007 12:24 pm
by stopsatgreen
In news 2.3 you don't have to store extra templates in the directory, you can create them from within the module. Go to News and click the Summary (or Detail) Template tab, and at the bottom of the page click the New Template link. Enter the contents of summarymarquee.tpl in there, then in the page that calls the template replace 'summarymarquee.tpl' with the name of the template you've just created - with no .tpl at the end.

Re: News template not working after upgrading to 1.1

Posted: Fri Jul 20, 2007 1:40 pm
by GDS
Thanks!
This solved my problem.
:)

GDS