Difference between revisions of "Zack-201207"

From Stadm
Jump to navigationJump to search
 
(40 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<div style='display: none;'> BEGIN PARSING ENTRIES - DO NOT REMOVE THIS LINE</div>
 
<div style='display: none;'> BEGIN PARSING ENTRIES - DO NOT REMOVE THIS LINE</div>
 
===Week of 2012-07-28 to 2012-07-31===
 
===Week of 2012-07-28 to 2012-07-31===
<!------------------------------- BEGIN COMMENTED WEEKLY SECTION ---------------------------------
 
====2012-07-31 Tue -- 0 hrs====
 
  
====2012-07-30 Mon -- 0 hrs====
+
====2012-07-31 Tue -- 5 hrs====
 +
 
 +
*eri:5h:themed and set up structure of eri
 +
#Most theming done on global.css in ''eriomega'' theme
 +
##Changed page width to 760px
 +
#Uploaded header image and favicon using eriomega settings
 +
##Added background image through css
 +
##Aligned background image and wrapper image by resizing wrapper background in body{} of global.css
 +
#Created basic page 'home'
 +
#BuiltMini panel on front page that displays two columns
 +
#Added text block below that that displays links to previous site
 +
#Added Footer block at bottom as a block
 +
 
 +
====2012-07-30 Mon -- 5 hrs====
 +
 
 +
*eri:3h:set up account on eri.ucsb.edu; took wiki notes on structure, and methods of migrating data, views, content types etc. to Drupal 7; created structure for displaying relationship between people and research in WIP Journal
 +
*eri:2h:met with Aaron about new Drupal site, tried creating gallery view via template (no images to display); researched use of arguments in views filters;read D7 documentation on Organic Groups and documented advantages in WIP Journal
  
 
<font color='blue'>
 
<font color='blue'>
Line 17: Line 31:
  
 
</font>
 
</font>
-----------------------------------END COMMENTED WEEKLY SECTION ----------------------->
+
 
 
===Week of 2012-07-21 to 2012-07-27===
 
===Week of 2012-07-21 to 2012-07-27===
<!------------------------------- BEGIN COMMENTED WEEKLY SECTION ---------------------------------
+
====2012-07-27 Fri -- 5 hrs====
====2012-07-27 Fri -- 0 hrs====
+
 
 +
*eri:1.5h:finished up building IT ERI Wiki structure and added some content from stadm (unformatted)
 +
*eri:1h:wrote wiki guide for Drupal Wiki [[Drupal_Wiki]]
 +
*eri:0.5h:wrote wiki guide for Announcements [[Drupal_Announcements]]
 +
*eri:1.5h:tested Webform -- will not work for outages; researched php way of doing it; built php script to insert formatted outage data into DB; Built form located http://it.eri.ucsb.edu/add_outage to send data to php script
 +
*eri:0.5h:weekly meeting with Aaron
  
 
====2012-07-26 Thu -- 0 hrs====
 
====2012-07-26 Thu -- 0 hrs====
  
====2012-07-25 Wed -- 0 hrs====
+
====2012-07-25 Wed -- 5 hrs====
  
====2012-07-24 Tue -- 0 hrs====
+
*eri:0.5h:met with Aaron about IT site announcements block
 +
*eri:2.5h:tested two methods of table filtering for announcements and outages (taxonomy, two content types); created php script to format text; built form to edit content of announcement format outage announcemnt
 +
*eri:2h:researched and built wiki structure in wiki/ subdirectory of IT ERI site; Aaron installed Four modules: MediaWiki API, freelinker, and Wikitools -- MediaWiki API doesn't seem useful.
  
====2012-07-23 Mon -- 0 hrs====
+
====2012-07-24 Tue -- 5 hrs====
 +
 
 +
*eri:1h:reviewed unix commands;tested responsive grid settings and stylesheet loading defaults
 +
*eri:2h:setup ssh fileviewer in JEdit;explored d7k filesystem;reviewed tpl.php files and css files within mix_and_match theme folder of eri7-dev;couldn't save change because files read only
 +
*eri:0.5h:documented use of header and logo in stylesheets and template file from eri7-dev
 +
*eri:1.5h:Researched mediawiki module for drupal (combine MediaWiki API Module with Wikitools module); Began adding views, content and blocks to IT ERI drupal (created dynamic announcements table)
 +
 
 +
====2012-07-23 Mon -- 5 hrs====
 +
 
 +
*eri:2h:Researched Omega theme; Tested layout options and regions;
 +
*eri:1h:matched menu styles from CCBER to ERI; tried changing block regions on both to better understand header usage and advantages of putting header in "branding" region.
 +
*eri:2h:followed grid documentation guide for Omega; learned structure of sub theme css stylesheets/Omega's way of loading mobile, desktop and wide screen versions of the theme.
  
 
<font color='blue'>
 
<font color='blue'>
Line 38: Line 70:
  
 
</font>
 
</font>
-----------------------------------END COMMENTED WEEKLY SECTION ----------------------->
+
 
 
===Week of 2012-07-14 to 2012-07-20===
 
===Week of 2012-07-14 to 2012-07-20===
====2012-07-20 Fri -- 0 hrs====
+
====2012-07-20 Fri -- 6 hrs====
  
 
*eri:2h:rebuilt calendar, content types, and taxonomy
 
*eri:2h:rebuilt calendar, content types, and taxonomy
 
*eri:1h:repaired resources table and added month selector to filter resources by date
 
*eri:1h:repaired resources table and added month selector to filter resources by date
*eri:1h:created wiki guide for calendar located on the bottom of this page
+
*eri:2h:created wiki guide for calendar [[Drupal_Calendar]]
 +
*eri:1h:researched issue with having People and Research quick tabs in the same view; began building module using hook_form_alter and taxonomy_node_get_terms to accomplish this.
  
 
====2012-07-19 Thu -- 0 hrs====
 
====2012-07-19 Thu -- 0 hrs====
Line 129: Line 162:
  
 
{{:Recharge Examples}}
 
{{:Recharge Examples}}
 
==Calendar Notes==
 
 
===Location===
 
*The current calendar/resources setup is located at: http://www.eri7a-dev.eri.ucsb.edu/events_resources
 
 
===Structure===
 
*Calendar view is a page with location "events_resources"
 
*Resources is a view placed under "Main Page content" in the "Content" block
 
#Set to only be displayed on "events_resources/*" and  "events_resources"
 
 
===Terms/Taxonomy===
 
*Vocabulary: Event Type
 
*Terms:
 
#ERI Meeting
 
#ERI Seminar
 
#ERI General Event
 
#General UCSB Event
 
#Resource
 
##Shows up in "Resources" block under calendar
 
##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), event location, and finally category
 
#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
 
#If item is a resource, you should input the dates that the resource will be relevant. For example, if you are posting a restaurant menu for the month of July, put 07/1/12 as the start date and 07/31/12 as the end date. If you do not want the item to expire, select today as the start date, and some time far in the future as the end date. This is a workaround, and the CMS student assistant should work to find a cleaner method of setting a non expiring resource.
 
*Click "Save"
 
 
===Customizations/Additions===
 
*You can add new event types by going to Structure->Taxonomy->Event Type =>Add Terms
 
#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
 
##Scroll down to the bottom and use the color selector next to the term you have just added
 
##Click "Apply"
 
##Click "Save" at the top of the Calendar menu
 
 
===Usage===
 
*Calendar month can be changed by clicking "Next" or "Prev" at the top right of the page above the Calendar
 
*You can check resources applicable to a given month by selecting the "Year" and "Date" under the "date" heading above the table of resources. For example, if this month is July, and I want to see a menu for this month, I would select 2012 and July.
 
 
===Portability Notes===
 
*Since there are many components necessary for this page to function, it seems like the easiest way to move the entire page to another site would be to export all of the elements as a module using the "Features" module that is on both the eri7-dev and eri7a-dev sites.
 
*To create a feature, go to "Structure"->"Features" and then click the "Create Feature" tab at the top of the box that appears.
 
*Below is a non-comprehensive list of all the elements that should be included when exporting the "Feature." If this is not the first time exporting the feature, check the last version name to avoid naming confusion. The Update XML field can be left blank for now.
 
#''Content types''
 
##'''Event'''
 
#''Dependencies
 
##'''Block'''
 
##'''Calendar'''
 
##'''Color'''
 
##'''Chaos Tools'''
 
##'''Date'''
 
##'''Date All Day'''
 
##'''Date API'''
 
##'''Date Popup'''
 
##'''Date Repeat API'''''
 
##'''Date Repeat Field'''
 
##'''Date Tools'''
 
##'''Date Views'''
 
##'''Field UI'''
 
##'''List'''
 
##'''Options'''
 
##'''Path'''
 
##'''Taxonomy'''
 
##'''Views'''
 
##'''Views UI'''
 
#''Fields''
 
##'''node-event-body'''
 
##'''node-event-field-date-time'''
 
##'''node-event-field-type'''
 
##'''node-event-field-location'''
 
#''Taxonomy''
 
##'''Event Type'''
 
#''Views''
 
##'''Resources'''
 
##'''calendar'''
 
*Once the module is downloaded and installed on the desired drupal installation, events specific to the site must be added using the same content type as mentioned in this tutorial (the content type should be included when exporting the "Feature"). Also, side menu item must be added to reflect location of calendar -- this might not change, but because the module doesn't include the menu item, the new menu link must be added anyway.
 
  
 
==Other Stuff==
 
==Other Stuff==
 
[http://clone.crustal.ucsb.edu/test/sites/cricess/wikiHours.php?year=2012&month=Jul AVWH: 168]
 
[http://clone.crustal.ucsb.edu/test/sites/cricess/wikiHours.php?year=2012&month=Jul AVWH: 168]

Latest revision as of 14:11, 31 July 2012

Daily Entries

BEGIN PARSING ENTRIES - DO NOT REMOVE THIS LINE

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

2012-07-31 Tue -- 5 hrs

  • eri:5h:themed and set up structure of eri
  1. Most theming done on global.css in eriomega theme
    1. Changed page width to 760px
  2. Uploaded header image and favicon using eriomega settings
    1. Added background image through css
    2. Aligned background image and wrapper image by resizing wrapper background in body{} of global.css
  3. Created basic page 'home'
  4. BuiltMini panel on front page that displays two columns
  5. Added text block below that that displays links to previous site
  6. Added Footer block at bottom as a block

2012-07-30 Mon -- 5 hrs

  • eri:3h:set up account on eri.ucsb.edu; took wiki notes on structure, and methods of migrating data, views, content types etc. to Drupal 7; created structure for displaying relationship between people and research in WIP Journal
  • eri:2h:met with Aaron about new Drupal site, tried creating gallery view via template (no images to display); researched use of arguments in views filters;read D7 documentation on Organic Groups and documented advantages in WIP Journal

2012-07-29 Sun -- 0 hrs

2012-07-28 Sat -- 0 hrs

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

2012-07-27 Fri -- 5 hrs

  • eri:1.5h:finished up building IT ERI Wiki structure and added some content from stadm (unformatted)
  • eri:1h:wrote wiki guide for Drupal Wiki Drupal_Wiki
  • eri:0.5h:wrote wiki guide for Announcements Drupal_Announcements
  • eri:1.5h:tested Webform -- will not work for outages; researched php way of doing it; built php script to insert formatted outage data into DB; Built form located http://it.eri.ucsb.edu/add_outage to send data to php script
  • eri:0.5h:weekly meeting with Aaron

2012-07-26 Thu -- 0 hrs

2012-07-25 Wed -- 5 hrs

  • eri:0.5h:met with Aaron about IT site announcements block
  • eri:2.5h:tested two methods of table filtering for announcements and outages (taxonomy, two content types); created php script to format text; built form to edit content of announcement format outage announcemnt
  • eri:2h:researched and built wiki structure in wiki/ subdirectory of IT ERI site; Aaron installed Four modules: MediaWiki API, freelinker, and Wikitools -- MediaWiki API doesn't seem useful.

2012-07-24 Tue -- 5 hrs

  • eri:1h:reviewed unix commands;tested responsive grid settings and stylesheet loading defaults
  • eri:2h:setup ssh fileviewer in JEdit;explored d7k filesystem;reviewed tpl.php files and css files within mix_and_match theme folder of eri7-dev;couldn't save change because files read only
  • eri:0.5h:documented use of header and logo in stylesheets and template file from eri7-dev
  • eri:1.5h:Researched mediawiki module for drupal (combine MediaWiki API Module with Wikitools module); Began adding views, content and blocks to IT ERI drupal (created dynamic announcements table)

2012-07-23 Mon -- 5 hrs

  • eri:2h:Researched Omega theme; Tested layout options and regions;
  • eri:1h:matched menu styles from CCBER to ERI; tried changing block regions on both to better understand header usage and advantages of putting header in "branding" region.
  • eri:2h:followed grid documentation guide for Omega; learned structure of sub theme css stylesheets/Omega's way of loading mobile, desktop and wide screen versions of the theme.

2012-07-22 Sun -- 0 hrs

2012-07-21 Sat -- 0 hrs

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

2012-07-20 Fri -- 6 hrs

  • eri:2h:rebuilt calendar, content types, and taxonomy
  • eri:1h:repaired resources table and added month selector to filter resources by date
  • eri:2h:created wiki guide for calendar Drupal_Calendar
  • eri:1h:researched issue with having People and Research quick tabs in the same view; began building module using hook_form_alter and taxonomy_node_get_terms to accomplish this.

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

Other Stuff

AVWH: 168