Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Calendar Problem on <% control x %>


Reply


593 Views

Avatar
Terminator4

Community Member, 81 Posts

16 February 2009 at 4:29pm

Hi guys,
I found there is a problem with the CalendarDateField when you make use of it in a <% control x %> scenario. Does anyone have a work around so that each and every iteration of the calendar can have a unique ID and work correctly. I tried parsing an ID in the template page to the function but I get receive this error:

Parse error: syntax error, unexpected T_STRING, expecting ')' in C:\WINDOWS\Temp\silverstripe-cacheF--xampp-htdocs-iluka\.cacheF..xampp.htdocs.iluka.mysite.templates.Layout.EcomGroup.ss on line 129