uon_david's blog

How to add Google Analytics to Luminis...

I've written a quick "how to":
How to add Google Analytics to SungardHE’s Luminis portal platform.

It assumes some knowledge of jQuery, JSON, CSS and Google Analytics. Thought it might be interesting to share this.

Adding the correct icons to files in groups

Edit: I need to add a caveat that this only works for browsers
that properly support CSS2. It works well with Firefox & Opera, but
IE6 of course fails. Maybe IE7 will work better.

Adding the following CSS styles will automatically add the correct icons to the files in Luminis Groups. Also useful when you are linking to a group file in a Personal Announcement.

/* UoN customisations in file $CP_HOME/webapps/luminis/misc/style.css */
/* DAS 2005-05-04 Added pretty icons */
a[href $=".doc"]{
background: url(http://my.nottingham.ac.uk/media/icons/doc.gif) bottom left no-repeat;
padding-left: 20px;
}
a[href $=".pdf"]{
background: url(http://my.nottingham.ac.uk/media/icons/pdf.gif) bottom left no-repeat;
padding-left: 20px;
}
a[href $=".ppt"]{
background: url(http://my.nottingham.ac.uk/media/icons/ppt.gif) bottom left no-repeat;
padding-left: 20px;
}

...obviously, you can add more icons for different file types as desired.

Syndicate content