<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Configure calendar to start with Monday in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237587#M190717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mikkle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The decision on the priority of that ticket with project management at the moment, but I have pointed our localisation manager to it today. I'll update this thread with anything else I hear about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In terms of code, you'll need to touch a few different areas, I'm afraid:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The main Share calendar is rendered using the "Calendar: View Component" webscript. The code you'll want to look at is in: &lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;view.get.html.ftl&lt;/EM&gt;&lt;SPAN&gt; (which renders the initial template) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then the events are added/rendered client side in each of the view: &lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;calendar-view-week.js&lt;/EM&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;calendar-view-month.js&lt;/EM&gt;&lt;SPAN&gt; as well as &lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;calendar-view.js&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To update the calendars elsewhere in Share is easier, in a recent release I added the Alfresco.util.calI18nParams function which loads various locale specific properties into the calendar widget - you'll just need to get that to set the START_WEEKDAY property &amp;amp; all YAHOO.widget.Calendar instances (e.g. mini-calendar, date pop ups in forms, etc) should pick up on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Give me a shout if you hit any issues or have any other questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2011 11:55:39 GMT</pubDate>
    <dc:creator>davidcognite</dc:creator>
    <dc:date>2011-06-23T11:55:39Z</dc:date>
    <item>
      <title>Configure calendar to start with Monday</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237582#M190712</link>
      <description>Hi,As there seems to be no way to change the calendar to start from Monday, could someone make this feature available through a configuration option, ie so people can choose whether the calendar starts with Monday or Sunday?Thanks,Wes&amp;nbsp; :idea:</description>
      <pubDate>Sat, 07 Aug 2010 11:28:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237582#M190712</guid>
      <dc:creator>wesley</dc:creator>
      <dc:date>2010-08-07T11:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Configure calendar to start with Monday</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237583#M190713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did anyone find a way? I would really appreciate it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If not - see posting above by wes!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Philipp&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 09:35:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237583#M190713</guid>
      <dc:creator>strizzi</dc:creator>
      <dc:date>2010-10-15T09:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Configure calendar to start with Monday</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237584#M190714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no configuration to allow this; it requires extra development work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please raise an enhancement request in JIRA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 10:41:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237584#M190714</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-10-15T10:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Configure calendar to start with Monday</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237585#M190715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This feature is quite important for some countries where the calendar starts on monday.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; I think its a good feature to think for future releases.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 11:22:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237585#M190715</guid>
      <dc:creator>kami10</dc:creator>
      <dc:date>2010-12-10T11:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configure calendar to start with Monday</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237586#M190716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is no configuration to allow this; it requires extra development work.&lt;BR /&gt;&lt;BR /&gt;Please raise an enhancement request in JIRA.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mike&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-5497" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-5497&lt;/A&gt;&lt;SPAN&gt; was created November last year, and not so much as a single comment (not even a "will do" or "won't fix").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While we wait for the devs to decide what to do with that request, could you or someone else point us noobs in the right direction by giving some pointers to where in the various script components changes need to be made in order to start the week with monday?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I could easily live with an override/hard-code hack to get this sorted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I might consider looking into cooking up a way of configuring this from within Alfresco or Share and storing it as a global, site-local, or user-local property. This would, of course, be contributed back to the community.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Weeks starting on sunday is actually a blocking issue for my users. They are quite happy with Share, but we just can't use any of the calendar related features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 12:20:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237586#M190716</guid>
      <dc:creator>mikkle</dc:creator>
      <dc:date>2011-05-13T12:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Configure calendar to start with Monday</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237587#M190717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mikkle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The decision on the priority of that ticket with project management at the moment, but I have pointed our localisation manager to it today. I'll update this thread with anything else I hear about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In terms of code, you'll need to touch a few different areas, I'm afraid:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The main Share calendar is rendered using the "Calendar: View Component" webscript. The code you'll want to look at is in: &lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;view.get.html.ftl&lt;/EM&gt;&lt;SPAN&gt; (which renders the initial template) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then the events are added/rendered client side in each of the view: &lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;calendar-view-week.js&lt;/EM&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;calendar-view-month.js&lt;/EM&gt;&lt;SPAN&gt; as well as &lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;calendar-view.js&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To update the calendars elsewhere in Share is easier, in a recent release I added the Alfresco.util.calI18nParams function which loads various locale specific properties into the calendar widget - you'll just need to get that to set the START_WEEKDAY property &amp;amp; all YAHOO.widget.Calendar instances (e.g. mini-calendar, date pop ups in forms, etc) should pick up on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Give me a shout if you hit any issues or have any other questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 11:55:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configure-calendar-to-start-with-monday/m-p/237587#M190717</guid>
      <dc:creator>davidcognite</dc:creator>
      <dc:date>2011-06-23T11:55:39Z</dc:date>
    </item>
  </channel>
</rss>

