Wireless Access Sign In

The current version of the new wireless access network (shown below) is running a very early version of the CWD (version 2.0 Aberlour to be specific):

Old wireless access login

The old wireless access login

The new version shown below is running the bleeding edge trunk version of the CWD (2.2 Caperdonich). Hopefully you can see the improvements!

The new wireless access login page

It should be live very soon!

Migrating from CWD 2.1 (Balblair) to CWD 2.2 (Caperdonich)

Caperdonich is approaching and there are a few structural changes that are needed. CWD 2.1 will be retired two weeks after 2.2 is released so existing sites will not work.

We have setup an SVN repository and a Mantis account to track CWD progress.

SVN

http://lincoln.svn.beanstalkapp.com/cwd/

Mantis
http://mantis.ll.tn-uk.net/

Updates to <head>

The <head> element should contain the following elements.

<!– Required meta –>
<title>The Common Web Design</title><!– Remember to fill this out –>
<meta name=”description” content=”Unifying the University&#039;s Online Services” /><!– Remember to fill this out –>
<meta name=”application-name” content=”The Common Web Design”/><!– Should be the same as <title> –>
<meta name=”application-url” content=”http://thecwd.blogs.lincoln.ac.uk”/><!– Remember to fill this out –>

<!– Don’t touch this –>
<meta charset=”UTF-8″ />
<link rel=”apple-touch-icon” href=”http://cwd.meerkat.ws/2/2/img/icon.png”/>
<link rel=”image_src” href=”http://cwd.meerkat.ws/2/2/img/icon.png” />
<link rel=”shortcut icon” href=”http://cwd.meerkat.ws/2/2/img/favicon.ico” type=”image/x-icon” />
<meta name=”viewport” content=”initial-scale=1.0″ />
<meta name=”generator” content=”CWD 2.2″ />

<!– Required CSS –>
<link rel=”stylesheet” type=”text/css” href=”http://cwd.meerkat.ws/2/2/css/base.css” media=”screen” />
<link rel=”stylesheet” type=”text/css” href=”http://cwd.meerkat.ws/2/2/css/desktop.css” media=”screen” />
<link rel=”stylesheet” type=”text/css” href=”http://cwd.meerkat.ws/2/2/css/print.css” media=”print” />
<!–[if IE 6]><link rel=”stylesheet” type=”text/css” href=”http://cwd.meerkat.ws/2/2/css/ie6.css” media=”screen” /><![endif]–>
<!–[if IE 7]><link rel=”stylesheet” type=”text/css” href=”http://cwd.meerkat.ws/2/2/css/ie7.css” media=”screen” /><![endif]–>
<!–[if IE 8]><link rel=”stylesheet” type=”text/css” href=”http://cwd.meerkat.ws/2/2/css/ie8.css” media=”screen” /><![endif]–>

<!– Customise CSS –>
<link rel=”stylesheet” type=”text/css” href=”http://cwd.meerkat.ws/2/2/css/customise.php” media=”screen” />

<!– Site CSS –>
<link rel=”stylesheet” type=”text/css” href=”/style.css” media=”screen” />

Footer

The footer (which comes directly after #content) should be as follows:

<!– The footer – DO NOT ALTER –>
<div id=”footer”>
<p>
&copy; 2010 <a href=”http://www.lincoln.ac.uk” title=”University of Lincoln home page”>University of Lincoln</a> &middot; <a href=”http://lincoln.ac.uk/home/legal/index.htm” title=”University of Lincoln policy statements”>Policy Statements</a>
</p>
</div><!–#footer–>

JavaScript

Any JavaScript should be located immediately before the closing <body> tag.

<!– Required JavaScript (includes jQuery and Modernizr) –>
<script src=”http://cwd.meerkat.ws/2/2/js/javascripts.js” type=”text/javascript”></script>

<!– Widget JavaScript (remove if not needed) –>
<script src=”http://cwd.meerkat.ws/2/2/js/ui.js” type=”text/javascript”></script>

A CodeIgniter active record library for MongoDB

This evening I started work on an active record inspired library for interacting with MongoDB via a CodeIgniter library.

So far I’ve got searching and inserting working. Updating and deleting are going to take more time because they’re a bit trickier.

What this means is you can easily work with a database collection like so:

$this->mongo_db->where_gte('age', 18)->where(array('country' => 'UK', 'can_drink' => TRUE))->get('people');

Or:

$this->mongo_db->get_where('posts', array('title' => 'Hello, World!');

Or just:

$this->mongo_db->get('sales');

I’ve created a repository on Bitbucket located at http://bitbucket.org/alexbilbie/codeigniter-mongo-library. If you have a look at the README file there is an overview of what is there so far and also what needs doing (and some maybes!).

Hope people find it useful.