Availability - calnedar view [SOLVED]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
osxfil
Forum Members
Forum Members
Posts: 186
Joined: Wed Apr 01, 2009 6:03 pm

Availability - calnedar view [SOLVED]

Post 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
Last edited by osxfil on Mon Nov 29, 2010 5:31 pm, edited 1 time in total.
pidou46
New Member
New Member
Posts: 5
Joined: Thu Nov 06, 2008 4:34 pm

Re: Availability - calnedar view

Post 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
Attachments
Avialability.PNG
Post Reply

Return to “Modules/Add-Ons”