Difference between revisions of "Zack-201207"

From Stadm
Jump to navigationJump to search
Line 137: Line 137:
 
*Calendar view is a page with location "events_resources"
 
*Calendar view is a page with location "events_resources"
 
*Resources is a view placed under "Main Page content" in the "Content" block
 
*Resources is a view placed under "Main Page content" in the "Content" block
##Set to only be displayed on "events_resources/*" and  "events_resources"
+
#Set to only be displayed on "events_resources/*" and  "events_resources"
  
 
===Terms/Taxonomy===
 
===Terms/Taxonomy===

Revision as of 12:03, 20 July 2012

Daily Entries

BEGIN PARSING ENTRIES - DO NOT REMOVE THIS LINE

Week of 2012-07-28 to 2012-07-31

Week of 2012-07-21 to 2012-07-27

Week of 2012-07-14 to 2012-07-20

2012-07-20 Fri -- 0 hrs

  • eri:2h:rebuilt calendar, content types, and taxonomy
  • eri:1h:repaired resources table and added month selector to filter resources by date

2012-07-19 Thu -- 0 hrs

2012-07-18 Wed -- 6 hrs

  • eri:2hr:researched contextual filters; vertical alignment of blocks on front eri7a page;
  • eri:1hr:researched calendar sorting by taxonomy, enabling color coding;
  • eri:3hr:video tutorials on module development; drush tutorial;

2012-07-17 Tue -- 4 hrs

  • eri:1.5hr:viewed online tutorials on hook_form_alter as well as calendar/date and Features modules
  • eri:2.5hr:created calendar view and resource view; inputted content from main eri site; built taxonomy term hierarchy to filter resources from events that are displayed in the calendar GUI

2012-07-16 Mon -- 4 hrs

  • eri:1hr: compiled questions and met with Aaron about drupal
  • eri:1.5hr:researched calenda and bibliography modules and tested pannel settings
  • eri:1.5hr:created test pages, views and blocks for various attachment types; adjusted attachment settings; followed Chris's guide to using arguments to filter content into table view; tested tokens

2012-07-15 Sun -- 0 hrs

2012-07-14 Sat -- 0 hrs

Week of 2012-07-07 to 2012-07-13

2012-07-13 Fri -- 4.5 hrs

  • eri:0.5:reviewed CEIN modules and theme options
  • eri:2.5h:built quicktabs table and bio type on eri7a-dev -- couldn't filter content by taxonomy term
  • eri:1.5:figured out work around for filtering quicktabs content -- still doesn't match structure of CEIN quicktabs; added test menu from biogeog to eri7-dev; tested forum module

2012-07-12 Thu -- 5.5 hrs

  • eri:3h:read drupal module development guide and git use, theme development
  • eri:2h:reviewed structure of quicktab module and people tab guide, functionality of CKEditor
  • eri:0.5h:met with Darla about Wordpress uses and theming/layout

2012-07-11 Wed -- 4.5 hrs

  • eri:1.5h:started reading drupal documentation guide
  • eri:3h:worked with eri7-dev drupal settings

2012-07-10 Tue -- 2 hrs

  • eri:1h:training/intro

2012-07-09 Mon -- 0 hrs

2012-07-08 Sun -- 0 hrs

2012-07-07 Sat -- 0 hrs

Week of 2012-07-01 to 2012-07-06

2012-07-06 Fri -- 0 hrs

2012-07-05 Thu -- 0 hrs

2012-07-04 Wed -- 0 hrs -- Independence Day

2012-07-03 Tue -- 0 hrs

2012-07-02 Mon -- 0 hrs

2012-07-01 Sun -- 0 hrs

FINISH PARSING ENTRIES - DO NOT REMOVE THIS LINE


Recharge Examples/Entry Instructions


Recharge Entries fall into 3 broad categories:  
  Direct charges - charges to a PI, Category, Account fund - Done monthly
  Deferred charges - charges that are accumulated for Services (Disk Storage, Backups, Websites, etc) paid quarterly
  Departmental charges - entries that are made to track time taken for various services that are provided by the department.  Possibly used by IT staff to make decisions

Recharge Entry Examples (each entry is expected to follow a list tag entry in the final html (ie: an asterisk in the wiki editor)):
 *NEES:20 min:Backups                         -- basic entry, NEES charged 20 minutes for backups
 *Frew:20:Backups                             -- implied units -- units default to minutes
 *Dozier:1.5h:Backups                         -- units flexible - space between amt and units optional, h is shorthand for hours, m shorthand for minutes
 *Davey/Frew/Dozier:20 min each:Backups       -- create recharge entries for this amt of time for each of the categories
 *Davey/Frew/Dozier:2 hours split:Backups     -- split time equally between each of the categories
 *eri.web:20m:Work on research website

Project examples: - ie: NEES, Snow, Oceancolor, Dragon, CCBER
Account entries can be subcategorized by creating a hierarchy using "."'s to separate fields (ie: eri.space.girvetz)

More detailed Syntax Breakdown (in pseudo BNF) :
 ENTRY = *ACCTSPEC:TIMESPEC:DESCRIPTION                         -- one entry per line
 ACCTSPEC = ACCT[[/ACCT]...]                                    -- the Account/Category/Project/CostCenter to be recharged
 TIMESPEC = AMT [UNIT [LOOP-OP]]                                -- amount of time spent - default is minutes
 ACCT = PI | Project | Account | Category [.SubCategory[...]]   -- PI/Project/Acct/Category: ie: Frew, NEES, Dragon, Infra, conf,...
 AMT = float | integer                                          -- Amount of time spent -- float or int
 UNIT = [hour|hr|h|minute|min|m]                                -- units of time to apply to amount - default is minute -- spaces optional between amt and units
 LOOP-OP = [each|split]                                         -- specialized operators - CATEGORY list is split on "/"s and an entry created for each one when processed.

Non-direct Recharge Categories (and associated SubCategories):
 *admin - efforts for administrative staff

 *lic.[itt, matlab, math, arcgis] --licensing stuff.
 *web.[drupal,wiki,cms,ftp]       -- not sure this will be a top level charge

 *stor.[disk,bk,tape]
 *stor.bk                         -- efforts relating to backups
 *stor.disk                       -- disk server related time
 *stor.tape                       -- tape backups
 
 *it.[net,dev,team,ucsb,stadm,dsr,nsmgmt]
 *it                             -- alone infers ERI business (infra/sysadm/blahblahblah).
 *it.net                         -- efforts relating to departmental networking (cabling)
 *it.dev                         -- software development, scripting, new services...
 *it.team                        -- efforts relating to IT team meetings/discussions... how about powow?
 *it.ucsb                        -- UCSB training/meetings/discussions/committees or campus greater good.
 *it.stadm                       -- efforts relating to any IT student assistants
 *it.dsr                         -- efforts relating to departmental safety representative work

Calendar Notes

Location

Structure

  • Calendar view is a page with location "events_resources"
  • Resources is a view placed under "Main Page content" in the "Content" block
  1. Set to only be displayed on "events_resources/*" and "events_resources"

Terms/Taxonomy

  • Vocabulary: Event Type
  • Terms:
  1. ERI Meeting
  2. ERI Seminar
  3. ERI General Event
  4. General UCSB Event
  5. Resource
    1. Shows up in "Resources" block under calendar
    2. These events should contain a link to the resource in the description

To Add New Event/Resource

  • Click "Add Event" under "Administration" in Sidebar Menu
  • Enter title, description (which should include a link if possible), date (this has multiple options, and can span a range), and finally category
  1. Be sure to only select "Resource" if you don't want the event to show up in the Calendar, and would instead like it to appear as a link in the table below the Calendar
  • Click "Save"

Customizations/Additions

  • You can add new event types by going to Structure->Taxonomy->Event Type =>Add Terms
  1. Once you have added a term, to define the color that the Event type should show up as in the calendar, go to Structure->Views->Calendar => edit-> Format -> Settings next to Calendar Entities
    1. Scroll down to the bottom and use the color selector next to the term you have just added
    2. Click "Apply"
    3. Click "Save" at the top of the Calendar menu

Other Stuff

AVWH: 168