Page 1 of 1

Standard Template für Artikel / default article template

Posted: Sat 1. Jul 2006, 09:42
by fopulu
Gibt es eine Möglichkeit (und wenn ja wo genau) das Standard Template für die Artikel und wenn möglich auch für das Artikellisting zu ändern? So, daß praktische unbeholfene Redakteure nicht immer ein Template wählen müssen...
Das Thema wurde hier http://www.phpwcms.de/forum/viewtopic.p ... d+template schon mal angesprochen.

-----

In according to the thread http://www.phpwcms.de/forum/viewtopic.p ... d+template. Is it possible to change the default article template (in which file) and maybe the default articlelisting template? It may be helpful for non-professional authors...

Hi

Posted: Sun 2. Jul 2006, 03:28
by jsw_nz
Hi fopulu,

With regards to your first request, might want to look here:
http://www.phpwcms.de/forum/viewtopic.p ... ight=jensz

If that suits then JENSZ goodie can be found here:
http://www.ikfrej.se/index.php?downloads

hack_defaulttemplates.txt 7.66 KB
When creating a new article, this enhancement will make sure that article templates default to what is set up in the page template of the article category that the article is created in.

Posted: Mon 3. Jul 2006, 11:33
by fopulu
Oh, that looks nice!
Am i right, that i can define the template for the articles in the layout templates...

And, where can i define in the php-code the layout for the article ({AUTHOR},{DATE},...)?
Sorry, i'm no genius in php..... :oops:

Posted: Tue 4. Jul 2006, 05:03
by jsw_nz
Hi fopulu,

Just follow JENSZ instructions and you will be good to go...

With regards to
"layout for the article ({AUTHOR},{DATE},...)? "
just consult the documentation... and threads ...

I am hoping this feature becomes part of the core (hi Oli - :D )

so very user friendly

all best
john
:D :D