Standard Template für Artikel / default article template

Use GitHub to post feature requests for phpwcms.
Locked
fopulu
Posts: 359
Joined: Tue 2. May 2006, 14:19
Location: Rhein-Main

Standard Template für Artikel / default article template

Post 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...
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Hi

Post 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.
fopulu
Posts: 359
Joined: Tue 2. May 2006, 14:19
Location: Rhein-Main

Post 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:
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

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