cancel
Showing results for 
Search instead for 
Did you mean: 

Customize date component in alfresco share forms.

omarsiala
Champ in-the-making
Champ in-the-making
I want to customize the date component in alfresco share forms to be a 'hijri' calendar, so I have the jquery component "http://keith-wood.name/calendarsPicker.html" but i can't integrate this component in alfresco share,
any help?
1 REPLY 1

scouil
Star Contributor
Star Contributor
Share forms have each field as an external ftl.
Those are in config/alfresco/site-webscripts/org/alfresco/components/form/controls/*
The one you're interested in is config/alfresco/site-webscripts/org/alfresco/components/form/controls/date.ftl
And potentially config/alfresco/site-webscripts/org/alfresco/components/form/controls/daterange.ftl

If you want to change all the date fields across alfresco, just overriding this component in web-extensions would be fine.
If you want to keep both, you'll need to create a distinct component and choose to use your custom components by redefining the form definition in share-config-custom.xml