{"id":387,"date":"2012-09-17T19:58:19","date_gmt":"2012-09-17T23:58:19","guid":{"rendered":"http:\/\/inkprov.com\/blog\/?p=387"},"modified":"2012-09-18T21:23:48","modified_gmt":"2012-09-19T01:23:48","slug":"install-key-drupal-modules-part-4-calendar-events","status":"publish","type":"post","link":"http:\/\/inkprov.com\/blog\/install-key-drupal-modules-part-4-calendar-events\/","title":{"rendered":"Install Key Drupal Modules &#8211; Part 4 &#8211; Calendar and Events"},"content":{"rendered":"<h2>Installing Calendar Module<\/h2>\n<p><a href=\"http:\/\/drupal.org\/project\/calendar\">http:\/\/drupal.org\/project\/calendar<\/a><\/p>\n<p>Under <span style=\"color: #3366ff\">DATE\/TIME<\/span> in Module list activate Calendar.\u00a0There is a good video on this here:\u00a0<a href=\"http:\/\/vimeo.com\/26853285\">http:\/\/vimeo.com\/26853285<\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Creating Events Content Type<\/h2>\n<p>Now we are finally ready to setup our event content type.<\/p>\n<p>Also note &#8211; debugging Calendar \/ Date problems:\u00a0<a href=\"http:\/\/drupal.org\/node\/755312\">http:\/\/drupal.org\/node\/755312<\/a><\/p>\n<p>Go to Structure and then Content Types<\/p>\n<p><strong>Home \u00bb Administration \u00bb Structure<\/strong><\/p>\n<p>Content types<\/p>\n<p>Click on Add Content Type<\/p>\n<p>Home \u00bb Administration \u00bb Structure \u00bb Content types<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 14<\/p>\n<p>&nbsp;<\/p>\n<p>For Name\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Event<\/p>\n<p>Description\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Church event or meeting<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>For Submission form settings:<\/h2>\n<p>For Title enter Name (for Event Name)<\/p>\n<p>Enter any event guide lines you would like to add in the Explanation or submission guidelines text box.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 15<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>For Publishing options:<\/h2>\n<p>Uncheck\u00a0<em>Promoted to front page<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>Figure 16<\/p>\n<p>&nbsp;<\/p>\n<p>For Display settings:<\/p>\n<p>Uncheck\u00a0<em>Display author and date information<\/em>\u00a0(just to keep it clean)<\/p>\n<p>&nbsp;<\/p>\n<h2>For Comment settings:<\/h2>\n<p>Set\u00a0<em>Default comment setting for new content<\/em>\u00a0to Closed in the drop down.<\/p>\n<p>Uncheck\u00a0<em>Threading<\/em><\/p>\n<p>Uncheck\u00a0<em>Allow comment title<\/em><\/p>\n<p>Uncheck\u00a0<em>Show reply from on the same page as comments<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>Figure 17<\/p>\n<p>&nbsp;<\/p>\n<h2>For Menu settings:<\/h2>\n<p>Uncheck\u00a0<em>Main menu<\/em>\u00a0(we don&#8217;t need the content type showing up on menus).<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 18<\/p>\n<p>Image: Admin_Structure_ContentTypes_MenuSettings1b<\/p>\n<p>&nbsp;<\/p>\n<h2>For group content type<\/h2>\n<p>Check the\u00a0<em>Group content type<\/em>\u00a0&#8211; make sure Group radio button is set to\u00a0<em>Not a group type,<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 19<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>For Signup settings<\/h2>\n<p>Set to\u00a0<em>Allowed (off by default)<\/em><\/p>\n<p><em>\u00a0<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>Figure 20<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Click Save and add fields button.<\/p>\n<p>&nbsp;<\/p>\n<h2>Adding Fields to Event Type<\/h2>\n<h3>Location<\/h3>\n<p>Now we need a field to enter a location (we will add a location content type later and change this to select a location from a drop down.)<\/p>\n<p>&nbsp;<\/p>\n<p>Enter Location&#8221; as the field Label and location as the Field Name<\/p>\n<p>Select Text data type and widget of Text Field.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 21<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>Date Field<\/h3>\n<p>If not at the manage field area for Events from above, you get back to this area by going to<\/p>\n<p>Admin<\/p>\n<p>Home \u00bb Administration \u00bb Structure \u00bb Content types \u00bb Event<\/p>\n<p>Event (Machine name: event)<\/p>\n<p>Church event or meeting<\/p>\n<p>&nbsp;<\/p>\n<p>Select Manage Fields<\/p>\n<p>Add new field<\/p>\n<p>For name (first field):\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Time<\/p>\n<p>Field_\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 time<\/p>\n<p>Type of data to store\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Date (ISO format)<\/p>\n<p>Form element to edit the date\u00a0\u00a0\u00a0 Pop-up calendar<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 22<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>Time Field Settings<\/h3>\n<p>Now set up the options for the new time field.<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 23<\/p>\n<p>&nbsp;<\/p>\n<p>Repeating date\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Yes<\/p>\n<p>Date attributes to collect\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Make sure Month, Day, Hour and Minute are selected.<\/p>\n<p>Collect an end date\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Check this box to allow an end date for multi date events<\/p>\n<p>Time zone handling\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Site&#8217;s time zone<\/p>\n<p>&nbsp;<\/p>\n<p>[Click on Save field settings] button<\/p>\n<p>&nbsp;<\/p>\n<p>This will bring up the field configuration page where most values will already be what we need them to be but will require some changes.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 24<\/p>\n<p>&nbsp;<\/p>\n<p>Click on the More Settings and Values blue heading to expand the choices<\/p>\n<p>&nbsp;<\/p>\n<h3>Time Field Settings &#8211; Date Entry<\/h3>\n<p>Confirm the Date entry options displays in the format you would like (it should be correct based on the initial set up) &#8211; See figure above<\/p>\n<p>&nbsp;<\/p>\n<p>Make sure Display all day checkbox is set if you want to allow all day events (recommend)<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 25<\/p>\n<p>&nbsp;<\/p>\n<h3>Time Field Settings &#8211; Default Values<\/h3>\n<p>In the Default Values for date entry:<\/p>\n<p>Default date\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Now<\/p>\n<p>Default end date\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Same as Default date<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Figure 26<\/p>\n<p>&nbsp;<\/p>\n<p>Click on Save Settings<\/p>\n<p>&nbsp;<\/p>\n<p><a title=\"Event Views\" href=\"http:\/\/inkprov.com\/blog\/event-views\/\">Next setup Event Views<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing Calendar Module http:\/\/drupal.org\/project\/calendar Under DATE\/TIME in Module list activate Calendar.\u00a0There is a good video on this here:\u00a0http:\/\/vimeo.com\/26853285 &nbsp; Creating Events Content Type Now we are finally ready to setup our event content type. Also note &#8211; debugging Calendar \/ &hellip; <a href=\"http:\/\/inkprov.com\/blog\/install-key-drupal-modules-part-4-calendar-events\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-387","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/inkprov.com\/blog\/wp-json\/wp\/v2\/posts\/387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/inkprov.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/inkprov.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/inkprov.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/inkprov.com\/blog\/wp-json\/wp\/v2\/comments?post=387"}],"version-history":[{"count":10,"href":"http:\/\/inkprov.com\/blog\/wp-json\/wp\/v2\/posts\/387\/revisions"}],"predecessor-version":[{"id":391,"href":"http:\/\/inkprov.com\/blog\/wp-json\/wp\/v2\/posts\/387\/revisions\/391"}],"wp:attachment":[{"href":"http:\/\/inkprov.com\/blog\/wp-json\/wp\/v2\/media?parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/inkprov.com\/blog\/wp-json\/wp\/v2\/categories?post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/inkprov.com\/blog\/wp-json\/wp\/v2\/tags?post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}