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.
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.
Recent comments
2 days 3 hours ago
3 days 24 min ago
3 days 1 hour ago
3 days 5 hours ago
3 days 6 hours ago
3 days 21 hours ago
4 days 2 hours ago
4 days 2 hours ago
4 days 3 hours ago
4 days 21 hours ago