vielen Dank. Guter Tipp, so hab ich es jetzt gemacht.
Ich frag jetzt noch mal schnell was anderes, wo ich gerade ein Problem habe:
Ich möchte ein neues Summarytemplate benutzen, hab den Code in eine Textdatei kopiert und als veranstaltungen.tpl gespeichert und in den Ordner "modules/News/templates" hochgeladen. Folgende Codezeile hab ich dann eingebaut "{news number='3' category='Veranstaltungen | Vereinsmeisterschaften' summarytemplate="veranstaltungen.tpl"}"
Auf der Seite erscheint jetzt immer folgender Fehler:
string(86) "Smarty error: unable to read resource: "module_db_tpl:News;summaryveranstaltungen.tpl""
Muss beim Hochladen etwas beachten?
News-Modul - Fehler bei Summary-Template
News-Modul - Fehler bei Summary-Template
Last edited by turnbeutel85 on Mon Nov 05, 2007 7:24 am, edited 1 time in total.
Re: Re: Section Header nicht als Link dargestellt
Welche Version des News-Moduls verwendest du? Seit kurzem werden dateibasierte Templates NICHT mehr unterstützt.
Evtl. hilft auch das
{news number='3' category='Veranstaltungen | Vereinsmeisterschaften' summarytemplate='veranstaltungen.tpl'}
Evtl. hilft auch das
{news number='3' category='Veranstaltungen | Vereinsmeisterschaften' summarytemplate='veranstaltungen.tpl'}
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: News-Modul - Fehler bei Summary-Template
again, I'm being brave and trying to understand the text that I got from google translations.
Since you've not mentioned any versions of CMS or any modules I can only hope your running a recent (1.1.x or greater ) version of CMS made simple when you read my reply.
New versions of the news module store all summary templates and detail templates in the database... they will not read .tpl files from the templates directory. There is a gui interface for this, go to the 'summary templates' (I think) tab of the news module, click 'new template'... add the template code, and name it: veranstaltungen.tpl, Then remove non required whitespace from your news tag (particularly anything between quotes).
that hopefully will do the trick for you.
Since you've not mentioned any versions of CMS or any modules I can only hope your running a recent (1.1.x or greater ) version of CMS made simple when you read my reply.
New versions of the news module store all summary templates and detail templates in the database... they will not read .tpl files from the templates directory. There is a gui interface for this, go to the 'summary templates' (I think) tab of the news module, click 'new template'... add the template code, and name it: veranstaltungen.tpl, Then remove non required whitespace from your news tag (particularly anything between quotes).
that hopefully will do the trick for you.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.