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
Availability - calnedar view [SOLVED]
Availability - calnedar view [SOLVED]
Last edited by osxfil on Mon Nov 29, 2010 5:31 pm, edited 1 time in total.
Re: Availability - calnedar view
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
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