Page 1 of 1
Availability - calnedar view [SOLVED]
Posted: Thu Apr 02, 2009 5:44 am
by osxfil
Hi, i'm new on CMSMS, so that i wanted help with calendar view of Availability module. When i use simply template and also my own template (which is creatted from simply), i don't see days in calendar view. Only "1" is displayed for all days. You can click here
http://sokolvalcha.bocekmedia.net/rekre ... rezervace/ for calendar view.
Can me someone help with this? thx
Re: Availability - calnedar view
Posted: Mon Jul 06, 2009 2:43 pm
by pidou46
Hi, i'm new me to but I found the response to your question:
Edit the {* calendar view template *}
and change this line inĀ {* day column *} section:
url}" title="{$mod->lang('view_day')}">{$smarty.section.rsrc.iteration}
by this one:
url}" title="{$mod->lang('view_day')}">{$grid[day][rsrc]->time|cms_date_format:"%d/%m/%y"}
Nota: change the cms_date_format as you like
I found the response in the source code:
http://viewsvn.cmsmadesimple.org/filedetails.php?repname=availability&path=%2Ftrunk%2Faction.calendar.php
Good luck...
And don't forget to mark this post [Resolved], thanks