Author Topic

Łukasz Serwatka

Monday 08 May 2006 12:06:30 am

Comment45949

Hello,

Maybe this will help?

{def $ini_file=ezini('RegionalSettings', 'Locale')|append('.ini')
       $months=array( 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec' )}
{foreach $months as $month}
	{ezini('LongMonthNames', $month, $ini_file, 'share/locale', true)}<br />
{/foreach}

List of months fetched from locale file, will work for all siteaccess.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog