Archives for: August 2011

30/08/11

Permalink 10:52:41 am, by mholmes, 40 words, 43 views   English (CA)
Categories: Activity log; Mins. worked: 120

Professional Writing site plan

Met with EGW and did the navigation plan and Project Lite (sic) Web document for the Professional Writing site; these have now been submitted, and we're waiting for the feedback from the information architects, and for provision of the site.

29/08/11

Permalink 09:38:30 am, by mholmes, 23 words, 54 views   English (CA)
Categories: Activity log; Mins. worked: 30

City Talks: Added bios/abstracts to site

Added bios and abstracts to the Lectures page for the first three lectures (although we're still missing an abstract for the first one).

23/08/11

Permalink 04:07:39 pm, by jamie, 32 words, 92 views   English (CA)
Categories: Activity log; Mins. worked: 10

VPN: modified header image

Minor change to the header image on the VPN site - removed the rollover images and links in the header, and made it a purely decorative banner.

http://web.uvic.ca/~vicpoet/

Permalink 03:58:00 pm, by mholmes, 52 words, 103 views   English (CA)
Categories: Activity log; Mins. worked: 90

Victorian Poetry: handling images

Met with AC and discussed the handling of images. Since the project is already using an account on unix.uvic.ca, that's where we've decided to store the data, in a subfolder called page-images, and I've provided detailed written instructions on how to upload images, and link to them from the database.

18/08/11

Permalink 02:03:48 pm, by mholmes, 39 words, 83 views   English (CA)
Categories: Academic; Mins. worked: 10

New field added to Manifestoes

At JW's request:

ALTER TABLE `revolt` ADD `rv_groupingDesc` varchar(2048) collate utf8_unicode_ci default NULL AFTER rv_grouping;

and in the local_classes.php file:

$this->addField(new MdhTextField('rv_groupingDesc', 'Grouping description', '', MAX_MED_TEXT, true));

17/08/11

Permalink 02:11:45 pm, by mholmes, 109 words, 41 views   English (CA)
Categories: Activity log; Mins. worked: 60

Urban Studies WordPress install

KE came by to organize the install of WP on the Urban Studies secondary account. After some confusion about the password, we managed to get access, and I uploaded the latest WordPress codebase, along with a wp-config.php file into which I'd place the relevant info, and a .htaccess file containing the line SetEnv UVPHP_VERSION 5 (WP requires >5.2.4, and web.uvic.ca is still providing 4 by default). Over to KE to do the actual install from wp-admin/install.php. I've recommended the Akismet plugin (requires an API key which is free for non-commercial use) for spam-blocking, and the BackWPup plugin for backing up both the site and the db.

15/08/11

Permalink 02:44:41 pm, by mholmes, 22 words, 58 views   English (CA)
Categories: Activity log; Mins. worked: 15

Manifesto db: restored a record deleted in error

Some time after August 10, a record was deleted in error. Restored that record from my August 10 backup file on request from JW.

Permalink 11:43:33 am, by mholmes, 34 words, 39 views   English (CA)
Categories: Activity log; Mins. worked: 15

Database set up for Urban Studies

J S-R and KE are setting up a site with the netlink urbanst, which requires a db. I've got that set up, so we're ready to go. We're meeting on Wednesday to get started.

12/08/11

Permalink 01:56:29 pm, by mholmes, 766 words, 106 views   English (CA)
Categories: Activity log; Mins. worked: 240

Manifesto project updates

Following a meeting with JW, made a range of changes to the db:

  • Added a new select field and associated table for "status".
  • Added a new select field and associated table for "grouping".
  • Replaced the "approaches" tables with "themes" tables (same data, but new table and field names).
  • Renamed the "notes" column to "synopsis".
  • Added a new one-to-many field and two associated tables for "language".
  • Added four new comments fields, one each for these one-to-many fields: document type, language, theme, and authorship.
  • Updated the local_classes.php and the copy_live_to_dev_db.sql files to support all the changes.

This is the SQL:

# Create the status table

CREATE TABLE IF NOT EXISTS `status` (
  `st_id` int(11) NOT NULL auto_increment,
  `st_name` varchar(128) collate utf8_unicode_ci default NULL,
  PRIMARY KEY  (`st_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1;

# Add a record to it
INSERT INTO `status` (st_name) VALUES ("active");

# Add the field that links to it

ALTER TABLE `revolt` ADD COLUMN `rv_status` INT(11) AFTER `rv_id`;

# Add the constraint.

ALTER TABLE `revolt` 
ADD CONSTRAINT `revolt_ibfk_4` FOREIGN KEY (`rv_status`) REFERENCES `status` (`st_id`) ON DELETE SET NULL ON UPDATE CASCADE;


# Create a new themes table based on the existing approaches table

CREATE TABLE IF NOT EXISTS `theme` (
  `th_id` int(11) NOT NULL auto_increment,
  `th_name` varchar(128) collate utf8_unicode_ci default NULL,
  PRIMARY KEY  (`th_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=9 ;

# Copy the data into it.

INSERT INTO `theme` (`th_id`, `th_name`) SELECT `ap_id`, `ap_name` FROM `approach`;



# Create a new theme_to_revolt table based on the existing approach_to_revolt table

CREATE TABLE IF NOT EXISTS `theme_to_revolt` (
  `thr_thr_id` int(11) NOT NULL auto_increment,
  `thr_th_id_fk` int(11) NOT NULL,
  `thr_rv_id_fk` int(11) NOT NULL,
  PRIMARY KEY  (`thr_thr_id`),
  KEY `thr_th_id_fk` (`thr_th_id_fk`),
  KEY `thr_rv_id_fk` (`thr_rv_id_fk`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=132 ;

# Copy the data over to the new table

INSERT INTO `theme_to_revolt` (`thr_thr_id`, `thr_th_id_fk`, `thr_rv_id_fk`) SELECT `apr_apr_id`, `apr_ap_id_fk`, `apr_rv_id_fk` FROM `approach_to_revolt`;


#Rename the notes field to synopsis

ALTER TABLE `revolt` CHANGE `rv_notes` `rv_synopsis` longtext collate utf8_unicode_ci;


#Add three new columns
ALTER TABLE `revolt` ADD `rv_themeComments` varchar(2048) collate utf8_unicode_ci default NULL;
ALTER TABLE `revolt` ADD `rv_docTypeComments` varchar(2048) collate utf8_unicode_ci default NULL;
ALTER TABLE `revolt` ADD `rv_authorshipComments` varchar(2048) collate utf8_unicode_ci default NULL;



# Create the language table

CREATE TABLE IF NOT EXISTS `lang` (
  `ln_id` int(11) NOT NULL auto_increment,
  `ln_name` varchar(128) collate utf8_unicode_ci default NULL,
  PRIMARY KEY  (`ln_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1;

# Add a record to it
INSERT INTO `lang` (ln_name) VALUES ("English");

# Create the linking table.

# Create a new theme_to_revolt table based on the existing approach_to_revolt table

CREATE TABLE IF NOT EXISTS `lang_to_revolt` (
  `lnr_lnr_id` int(11) NOT NULL auto_increment,
  `lnr_ln_id_fk` int(11) NOT NULL,
  `lnr_rv_id_fk` int(11) NOT NULL,
  PRIMARY KEY  (`lnr_lnr_id`),
  KEY `lnr_ln_id_fk` (`lnr_ln_id_fk`),
  KEY `lnr_rv_id_fk` (`lnr_rv_id_fk`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1;

# Add the constraints

ALTER TABLE `lang_to_revolt`
  ADD CONSTRAINT `lang_to_revolt_ibfk_1` FOREIGN KEY (`lnr_rv_id_fk`) REFERENCES `revolt` (`rv_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `lang_to_revolt_ibfk_2` FOREIGN KEY (`lnr_ln_id_fk`) REFERENCES `lang` (`ln_id`) ON DELETE CASCADE ON UPDATE CASCADE;


#Add new language comment column
ALTER TABLE `revolt` ADD `rv_langComments` varchar(2048) collate utf8_unicode_ci default NULL;



# Create new grouping table
CREATE TABLE IF NOT EXISTS `grouping` (
  `gr_id` int(11) NOT NULL auto_increment,
  `gr_name` varchar(128) collate utf8_unicode_ci default NULL,
  PRIMARY KEY  (`gr_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1;

# Add a record to it
INSERT INTO `grouping` (gr_name) VALUES ("[none]");

# Add the field that links to it

ALTER TABLE `revolt` ADD COLUMN `rv_grouping` INT(11) AFTER `rv_region`;

# Add the constraint.

ALTER TABLE `revolt` 
ADD CONSTRAINT `revolt_ibfk_5` FOREIGN KEY (`rv_grouping`) REFERENCES `grouping` (`gr_id`) ON DELETE SET NULL ON UPDATE CASCADE;


#Drop the tables we no longer need.
DROP TABLE `approach_to_revolt`;
DROP TABLE `approach`;



11/08/11

Permalink 10:47:43 am, by mholmes, 61 words, 104 views   English (CA)
Categories: Activity log; Mins. worked: 30

More fixes to Hispanital

Fixed a missing parenthesis, and then at DR's request, worked a bit on the menu layout, which was done in an ancient and unhelpful manner (individual <a> elements with <br/> tags between them). I've kept the <a> tags but made them display:block, and used CSS margins and padding to space them a bit better.

Permalink 09:09:14 am, by mholmes, 16 words, 94 views   English (CA)
Categories: Activity log; Mins. worked: 60

Updates to Hispanital

Did a substantial list of updates sent by DR. A couple of queries are still outstanding.

09/08/11

Permalink 02:47:31 pm, by jamie, 36 words, 78 views   English (CA)
Categories: Academic; Mins. worked: 0

VPN: extra search functionality requested

AC requested that an 'advanced search' function be added to the VPN search WordPress plugin, with fields such as periodical title, author, nationality, gender, etc. So, I will be completing that before my time is up.

08/08/11

Permalink 11:49:10 am, by mholmes, 36 words, 50 views   English (CA)
Categories: Activity log; Mins. worked: 60

City Talks: new titles and speakers

Renamed the old Lectures page, and created a new one for this season's titles, then added the basics. Later added affiliations, and rewrote the home page for the new season; I've now made the changes live.

Depts

This blog is for work done for academic departments which does not fall under other categories.

Reports

Categories

August 2011
Sun Mon Tue Wed Thu Fri Sat
 << < Current> >>
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

XML Feeds