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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Calendar Problem on <% control x %>


Go to End


1222 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