Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Calendar plugin

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
atu
Smarty Regular


Joined: 18 Apr 2003
Posts: 51
Location: Luxembourg

PostPosted: Thu Mar 11, 2004 12:28 pm    Post subject: Calendar plugin Reply with quote

Hi,
I installed the calendar plugin of Michael Yoon. It works fine under Linux but on Windows the calendar days disapear.

Any idea?
Back to top
View user's profile Send private message Visit poster's website
atu
Smarty Regular


Joined: 18 Apr 2003
Posts: 51
Location: Luxembourg

PostPosted: Thu Mar 11, 2004 1:01 pm    Post subject: Reply with quote

Ok. Here what I found my self. The default template which comes with the calendar plugin contains a day format which isnt supported on Windows:
{$date|date_format:"%e"}

You have to change this by:
{$date|date_format:"%d"}


Ref: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_strftime.2c_.wcsftime.asp
Back to top
View user's profile Send private message Visit poster's website
garaged
Smarty n00b


Joined: 12 Jun 2004
Posts: 4

PostPosted: Sat Jun 12, 2004 9:11 pm    Post subject: Error Reply with quote

Im getting this warning with smarty calendar plugin:

Warning: Smarty error: unable to read resource: "calendar:month" in /usr/lib/php/Smarty/Smarty.class.php on line 1102

Only the first title is viewable, no calendar seen after the warning
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP