Date Format in {NEW:XX} TAG

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
leone
Posts: 21
Joined: Tue 19. Oct 2004, 11:30
Location: Switzerland

Date Format in {NEW:XX} TAG

Post by leone »

Is there any way to set the date format for the {NEW:xx} Tag. I have changed the short date settings in conf.template_default.php without noticing any difference. I always get the date displayed in the US format.

regards,
Leone
Pappnase

Post by Pappnase »

hello

look into

conf.template_default.inc.php line 181

Code: Select all

// new articles
$template_default["news"]["before"]			= "<div class=\"news\">";
$template_default["news"]["after"]			= "</div>";
$template_default["news"]["link_before"]	= "";
$template_default["news"]["link_after"]		= "<br>";
$template_default["news"]["link_symbol"]	= "";
$template_default["news"]["link_target"]	= "";
$template_default["news"]["link_length"]	= 0; //if 0 no limit
$template_default["news"]["cut_title_add"]	= "…";
$template_default["news"]["date_language"]	= "EN"; // DE=German, IT=Italian, FR=French, ES = Spanish, DA = Danish, NO = Norwegian
$template_default["news"]["date_format"]	= "Y/m/d: "; //if empty -> no Date
leone
Posts: 21
Joined: Tue 19. Oct 2004, 11:30
Location: Switzerland

Post by leone »

Looks much better now! Thanks a lot!

Leone
Post Reply