Why does the calendar widget does not show up on my datefields

When logged in, I get the calendar widget when i click on the calendar icon in a date field. Anonymous users do not get the widget. firebug console shows a "plone is not defined" error message

« Back to Table of Contents

by default, the js file providing the calendar widget is only loaded for logged in users.

go to portal_javascript and uncheck "Restrict to authenticated users? If yes, the condition will be ignored." for calendar_formfield.js.

in plone versions <4.0 you'll have to modify or remove the python expression that checks for authenticated users