-
☆ A M B ☆
- 24,524 Posts
Try &order=`0`. I believe snippets treat all arguments as strings, so a string consisting of the word "FALSE" would evaluate to true.
it might be a very noob question, but where should i look for the locale files? i would like to add a new one to show the proper names of the days and months.
I also have some trouble showing the events in the calendar. The calendar is there, but the sundays aren’t red as on the demo page and i’m missing the borders for the numbers too, and also none of the events in the chunk are shown.
Do i have to add custom css files for the events to show up? Are the class, and title definitions necessary? and if yes, what are the default possibilities for the class variable?
Is it possible that the different system locale and modx locale is causing the trouble? is it possible that the dates in the chunk are not recognized are correct dates because of the different local timeformat?
thanks, it did clear up the css myth:) Now I can see the calendar the way i set it, the only problem is that it does show the events with ShowList, but they aren’t in the calendar itself (although i set the correct class and define it in the css). also the current day can’t be seen in bold. do you have any idea what may be the cause of this?
Do you have an example? Or maybe you can send me your page and the css file(s)?
Hi !!
I’ve installed the snippet but when I preview the site, modx give me this error:
Parse error: parse error, expecting `T_OLD_FUNCTION’ or `T_FUNCTION’ or `T_VAR’ or `’}’’ in e:\easyphp1-8\www\assets\snippets\eventcalendar\eventcalendar.inc.php on line 37
any idea ?
Which PHP version do you have? My version is 5.xx
If you have version 4 or less there maybe a problem with "public". I think this is new in PHP5.
Try to remove the "public" before each function.