neil
Neil Witt is the Technical Director for the Higher Education Learning Partnerships Centre for Excellence in Teaching and Learning

More Elgg teething problems (and a solution)

November 20, 2008 by neil   comments (0)

Elgg Portfolio CMALT Tinyurl

I've decided to create a Neil's CMALT portfolio group so I can access the pages plugin to create a structured portfolio.

To aid with navigation I thought I'd add a couple of links at the bottom of each page like this.

Portfolio Index |  Neil's CMALT Portfolio

I doing this I found a glitch in Elgg.

The link to the portfolio index works fine this goes to http://uspace.org.uk/cmalt/pg/pages/view/109

but the original link (http://uspace.org.uk/cmalt/pg/groups/97/neils-cmalt-portfoilo) to the Portfolio does not work, despite the address being cut and pasted from a browser. I noticed that I'd put in the link to the Portfolio with the www in the url  http://www.uspace.org.uk/cmalt/pg/groups/97/neils-cmalt-portfoilo - this works.

It looks like Elgg is truncating the address - removing the www from the url when entering a link in the pages editor and despite the server being configured to recognise www.uspace.org.uk and uspace.org.uk/cmalt. This issue only seems to impact on some internal URLs (those on th uspace domain)

As I want to provide a link back the Portfolio I found the easiest solution was to create a TinyURL - http://tinyurl.com/neils-cmalt to use as the link to my Portfolio from within the installation of Elgg