{"id":464,"date":"2014-07-28T16:59:18","date_gmt":"2014-07-28T16:59:18","guid":{"rendered":"http:\/\/blog.law.gmu.edu\/webservices\/?p=464"},"modified":"2020-01-30T16:02:30","modified_gmt":"2020-01-30T16:02:30","slug":"ems-master-calendar-modification","status":"publish","type":"post","link":"https:\/\/sls.gmu.edu\/web\/2014\/07\/28\/ems-master-calendar-modification\/","title":{"rendered":"EMS Master Calendar Modification"},"content":{"rendered":"<p><!--\n<del datetime=\"2015-08-20T16:52:21+00:00\">Before making changes to the EMS master calendar, you need to turn on SFTP<\/del>:\n\n\n\n<ol>\n        \n\n<li>Connect to the server via Remote Desktop Connection<\/li>\n\n\n\t\n\n<li>Launch FreeSSHD then click on its icon at the bottom right of the desktop<\/li>\n\n\n\t\n\n<li>Select SFTP in the property tab<\/li>\n\n\n\t\n\n<li>In the SFTP home path type in: <strong>C:\\inetpub<\/strong> then hit Apply<\/li>\n\n\n\t\n\n<li>Open up Services (search in the start menu). Right click on FreeSSHD service, stop, and start.<\/li>\n\n\n\t\n\n<li>Once finished, return to <strong>F:\\ncastvid<\/strong> directory.<\/li>\n\n\n<\/ol>\n\n\n\nThe above instruction is not needed for making changes to the EMS Master Calendar, but it is still relevant for changing SFTP.<\/a>\n\n\n\n<h2>Edit EMS Master Calendar<\/h2>\n\n\nThe better approach is to make the edits right on the server.\n--><\/p>\n<ol>\n<li>Connect to the server via Microsoft Remote Desktop<\/li>\n<li>Locate: <strong>C:\\inetpub\\wwwroot\\MasterCalendar<\/strong> (under My Computer, C drive)<\/li>\n<\/ol>\n<p>In order to add the Mason Law logo in the <a href=\"http:\/\/events.law.gmu.edu\/MasterCalendar\/\">master calendar of events<\/a>, I had to modify the master template file (<strong>Calendar.master<\/strong>). Scroll down to line 105, you&#8217;ll see this:<\/p>\n<p><code>&lt;div&gt;<br \/>\n\t&lt;input type=&quot;hidden&quot; name=&quot;__VIEWSTATEGENERATOR&quot; id=&quot;__VIEWSTATEGENERATOR&quot; value=&quot;28B11E50&quot; \/&gt;<br \/>\n\t&lt;input type=&quot;hidden&quot; name=&quot;__VIEWSTATEENCRYPTED&quot; id=&quot;__VIEWSTATEENCRYPTED&quot; value=&quot;&quot; \/&gt;<br \/>\n&lt;\/div&gt;<br \/>\n       &lt;div id=&quot;ctl00_HeaderContainer&quot; class=&quot;HeaderContainer show-large&quot;&gt;<\/p>\n<p>&lt;!--MASON LAW BY DONNY--&gt;<br \/>\n&lt;div style=&quot;background-color:#063; width:100%;&quot;&gt;&lt;a href=&quot;https:\/\/www.law.gmu.edu\/&quot;&gt;&lt;img src=&quot;https:\/\/sls.gmu.edu\/cdn\/shared-img\/cal-head-logo.png&quot; alt=&quot;Antonin Scalia Law School, George Mason University&quot; &gt;&lt;\/a&gt;&lt;a href=&quot;http:\/\/events.law.gmu.edu\/MasterCalendar\/&quot;&gt;&lt;img src=&quot;https:\/\/sls.gmu.edu\/cdn\/shared-img\/cal-head-text.png&quot; alt=&quot;Calendar of Events&quot; &gt;&lt;\/a&gt;&lt;\/div&gt;<br \/>\n&lt;!--\/MASON LAW BY DONNY--&gt;<\/p>\n<p>&lt;div class=&quot;row po&quot;&gt;<br \/>\n    &lt;div class=&quot;twelve columns&quot;&gt;<br \/>\n        &lt;div id=&quot;ctl00_Header_imgBannerDiv&quot; class=&quot;imgBanner centered pointer&quot;&gt;&lt;img src=&quot;http:\/\/events.law.gmu.edu\/MasterCalendar\/ImageWriter.aspx?data=IPkf9F3DB014d7Mcuxnr02hg194Zr%2fYICmc%2b3DyQmrlgKN39%2bJJQUIYsuFOrpOhm&quot; alt=&quot;Banner Image&quot; style=&quot;border-width:0px;&quot; \/&gt;&lt;\/div&gt;<br \/>\n    &lt;\/div&gt;<br \/>\n&lt;\/div&gt;<\/code><\/p>\n<p>This template needs to be update every time the EMS calendar is upgraded.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Connect to the server via Microsoft Remote Desktop Locate: C:\\inetpub\\wwwroot\\MasterCalendar (under My Computer, C drive) In order to add the Mason Law logo in the master calendar of events, I had to modify the master template file (Calendar.master). Scroll down to line 105, you&#8217;ll see this: &lt;div&gt; &lt;input type=&quot;hidden&quot; name=&quot;__VIEWSTATEGENERATOR&quot; id=&quot;__VIEWSTATEGENERATOR&quot; value=&quot;28B11E50&quot; \/&gt; &lt;input type=&quot;hidden&quot; &hellip; <a href=\"https:\/\/sls.gmu.edu\/web\/2014\/07\/28\/ems-master-calendar-modification\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;EMS Master Calendar Modification&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[11],"tags":[13,15],"class_list":["post-464","post","type-post","status-publish","format-standard","hentry","category-web-development","tag-calendar","tag-ems"],"_links":{"self":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts\/464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/comments?post=464"}],"version-history":[{"count":0,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts\/464\/revisions"}],"wp:attachment":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/media?parent=464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/categories?post=464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/tags?post=464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}