News template not working after upgrading to 1.1

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
GDS
Forum Members
Forum Members
Posts: 81
Joined: Sun Feb 18, 2007 1:26 pm

News template not working after upgrading to 1.1

Post 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""




stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: News template not working after upgrading to 1.1

Post 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.
GDS
Forum Members
Forum Members
Posts: 81
Joined: Sun Feb 18, 2007 1:26 pm

Re: News template not working after upgrading to 1.1

Post by GDS »

Thanks!
This solved my problem.
:)

GDS
Post Reply

Return to “CMSMS Core”