Updates to CWD mobile

Posted on June 2nd, 2011 by

I’ve spent most of today bug fixing and enhancing the CWD 3.0 mobile styling. The list below are mobile browsers which I’ve tested on and got working nicely:

  • iPhone/iPod Touch Safari
  • iPad Safari
  • Android default browser
  • Blackberry 5 browser
  • Blackberry 6 browser
  • Nokia 5800 browser
  • Internet Explorer Mobile 5.5
  • Opera Mobile (latest version)

I still need to test:

  • Internet Explorer for Windows Phone 7
  • Android tablet browser
  • Kindle

We need to go through and update all of the websites using CWD 3.0 at the moment for it to work completely (there are some HTML changes) however it won’t take long.

Below is a screenshot of the CWD home page on an iPhone 4.

CWD goes mobile

CWD goes mobile

Introucing the Common Wed Design version 3.0

Posted on March 23rd, 2011 by
The Common Web Design version 3.0

The Common Web Design version 3.0

Almost a year ago we introduced the Common Web Design v2.0 (it was actually version 1.0 but we realised that a number already sites, developed before Nick and I started, we using a similar design). A year later 30 sites and applications are using it, as well as over 50 blogs.

We’ve learnt a lot about creating Internet Explorer CSS hacks to force it to do our will, watched the HTML5 and CSS3 standards develop, and we’ve created some gorgeous websites including Linking You, Print from My PC and Opportunities@Lincoln.

As we were developing Total ReCal we began to realise that the current CWD (version 2.3) wasn’t quite customisable enough for our needs. We still believe that the most recent version of that branch is brilliant for text heavy sites, we need a framework for developing web applications and very graphical sites.

For Total ReCal we ended up branched 2.3 to created CWDx:

Total ReCal (CWDx v1.0)

Total ReCal (CWDx v1.0)

CWDx 1.0 was built with using the new HTML5 and CSS3 standards however it wasn’t generic enough for normal sites. What we did gain from it though was a complete tidy up of the code and we removed some of the old hacks because they were no longer appropriate or we found better ways of doing them.

Enter version 3, “Edradour”

Using CWDx as the starting point for the typography and base reset styles, I ripped out Blueprint which we’d been using for our CSS grid and started from scratch designing a grid with 12 columns each with 10px padding to the left and the right of the column. This now gives us a grid of 984px (up from 950px when we used Blueprint). The HTML is now all HTML5 and is marked up with WIA-ARIA attributes for accessibility. We are encouraging the use of the new semantic elements such as <section>, <article>, <header> and <footer>.

All of the element IDs are now namespaced too, e.g. #cwd_header, #cwd_footer, etc, because this was causing us some problems before when integrating the CWD into existing sites.

I’ve also recently been working on our single sign on platform which the CWD will use to initiate a session for you (if you’re on a corporate desktop or are using Eduroam), and it will tie in with our future plans for a messaging platform for the student communications project. It’s all very clever! Additionally, the CWD will include a OAuth 2.0 user agent client library meaning that you can authenticate in a Facebook Connect / Twitter @anywhere style popup in a the page. Boom!

Other 3.0 features include drop-down menus (which don’t rely on JavaScript (!!!) and even work on iPhones + iPads), a beautiful typography framework (Arial <3) and lots of helper CSS classes to make your sites look gorgeous. We’re still bundling in jQuery and Modernizr in the JavaScript, and you can easily include jQuery UI with out custom theme.

We’ll be updating a number of sites currently using 2.3 to the new 3.0 version in the next few weeks and we’re very excited about the new possibilities this framework offers.

We are also this time properly committing to developing some useful documentation so watch this space!

Checkout the v3.0 website for some demos and early documentation.

The Big Splash

Posted on October 8th, 2010 by Nick Jackson

As you’ve probably gathered, the CWD was designed to be flexible enough to encompass most of the things that the University would want to do. What you probably didn’t know is that it’s also designed to support a variety of different styles of web page within the CWD framework and design ideology.

What this means is that the CWD isn’t a set of templates which must be strictly adhered to, but rather a template with a set of rules on how you can modify it. The banner image is one key attribute which we give people a lot of flexibility on, but we don’t actually tell people you can’t tweak things like the height. This plays out well in things like the new Opportunities website, where the banner image has been made bigger vertically to give a bigger visual impact.

I decided to take this to the extreme when I made the layout for Universal Search (currently in Labs) and make the banner image occupy the entirety of the content area, giving it focus. This design is for sites (or rather pages of sites) which are pretty slim on content and instead offer the user a limited scope of options which take them somewhere else or perform a single action. I’ve quickly cobbled together a new look for our staff directory search as well. Have a look and share any comments you have, then we can decide if this view and it’s CSS will end up in the core rather than a site-specific hack.

Mobile CWD v0.0000001 alpha

Posted on October 6th, 2010 by

So after much messing around we’ve finally got a semi-decent mobile stylesheet for CWD web sites. For the moment we’ve only worked on getting mobile Safari to look right however now we’ve got a platform on which we can hack in support for other popular mobile browsers such as Opera Mobile.

Here are a few examples:

Print From My PC mobile edition

Print From My PC mobile edition

Gateway mobile editon

Gateway mobile editon

Only a few sites are working correctly at the moment, and there are a few other bugs that we need to iron out such as a flash that appears when some sites are loaded and some other funky quirks however we’ll do our best to fix these and ensure that future sites all work as expected from now on.

If anything is breaking monumentally please let me know, abilbie@lincoln.ac.uk. Thanks.