I gave a presentation at SunGard Summit in Anaheim this spring on Plymouth State's portal (myPlymouth). I had mentioned that PSU did some monkeying around with how we load our CSS and JavaScript so that it always forces users to have the correct versions of those files when changes are made while at the same time allowing their browsers to cache the JS and CSS where appropriate.
I have finally posted the article on my blog. This goes along nicely with Mathew Winstone's excellent post on optimization.
Hope some of you find this useful!
Does anyone know what files I need to edit the course homepage template? Specifically the header and the left navigation.
Thanks!
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.
Attached is my hacking Luminis document revision 0.05. I plan on creating a series on the site for each item in this, but to save time...
Table of contents-
Modification History
Introduction
What this document isn’t
Disclaimer
Affiliation
Responsibility
This part is important
My system
Platform
Luminis Version
Development Environment Setup
Get the files
Tools
Code Editor
FTP
Image Editor
Directory Structure
Main Login Page
User Authenticated Page
PageTitle
Session Timeout Script
Alert Message Footer
Cache Control Timeout
Icon Rollover Code
TABS
SCT’s Tab Methodology
My Modification
Active Tab Class Modification
InActive Tab Class Modification
InActive Tab XHTML Modification
Active Tab XHTML Modification
Other Mods
Environmental Variables
Nested Tables.XSL
$mediaPath
$skin
$detachedContent
$baseActionURL
@title
@secure
@minimized
@detachable
@hasHelp
@hasAbout
@editable
@printable
Customize the Calendar Styles and Tabs
Appendix A
CUSTOM SCRIPTS
BOUNCEWEB (BW)
BOUNCE CAL (BC)
Recent comments
2 hours 15 min ago
2 hours 28 min ago
21 hours 6 min ago
21 hours 14 min ago
1 day 26 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 3 hours ago
1 day 3 hours ago
1 day 5 hours ago