|
Ramblings of a pixel-pushing, barely-sane Sabbatical officer and Meeja Whore Latest diary entries by AlexH tagged with "mambo"
By Alex Harries
on Sun, 14th Jan 2007 at 00:10
(This is another really, *really* boring blog entry. Why not Google for "noodle mining" instead of reading it?) I've just made my first bit of Ajax - I feel so proud! Ok, it's sad and geeky, but I'm happy 'cos I just (a) learnt something new, and (b) it worked. When I tried to get onto the UPSU homepage earlier this evening, it wouldn't load. It was working fine for everyone else, so I figured it had something to do with a piece of code I was loading for myself, meaning the only suspect was the weather box, which only loads for me (as I'm still testing its reliability). To fix this, we need to have a way of preventing content which relies on other servers or websites, or which is either bulky, not critically important to UPSU.net (or both) from slowing down page loads. Lots of websites use JavaScript to load content into a DIV after the rest of the page has loaded, for example the BBC news homepage (which loads the "Your local news, weather and sport here" box after the rest of the page has loaded). This means that the non-essential content can be as badly behaved as it likes without breaking the rest of the page, even if it never loads. Google Ads also works on this basis to prevent their adverts from slowing down the loading times of the pages displaying the adverts. Not really having a clue where to start though, I went off on a Google wander and found DynamicDrive.com's excellent cut-out-and-keep guide which does exactly what I was looking for. So, one quick modification (to let me load the EuroWeather module outside of Mambo - it's not a core component and certainly poses no security risks) and we're up and running.
I'll also be using this technique to load in BBC News headlines onto the homepage in the near future, and I'm already trying to think of other ways we can make use of this. An ideal application would be to use it to load additional homepage content, for example my original but not-very-evil plan of converting the hero advert (the big 450x200 box) into a tabbed area which can show either the hero advert, or two or three other boxes of content - "my forum discussions", "my blah blah...", or "my settings" - etc. While it opens the way for us to put a lot of new toys on the homepage we haven't been able to because of size and space restrictions, I'm going to have to be careful not to fall into the trap of piling crap on top of crap just "because it's nice" ;o) Over on the SUSU forums, I spotted this discussion claiming that SUSU is the best students' union website in the country. Not sure I agree with that, but it's certainly a good site (as I've mentioned before). I want to see UPSU.net kicking everyone's backsides as a student website - we need to focus hard on improving the content, features, usability, usefulness and looks (in that order), and since we have a potential base of 16,000 students, that's a lot of different needs and levels of computer ability. I reckon we also need to start taking a much greater interest in what people would like to see. To that end, tell me!
Answers in the boxes below. Thanks! /al
Tags: ajax, bbc news, dynamicdrive.com, feedback, homepage, mambo, news, susu.org, upsu.net, weather, web 2.0, work
Permanent link
0 Comments
By Alex Harries
on Tue, 14th Nov 2006 at 15:26
Just a quick entry to congratulate Bloc-Online for coming 2nd in the Guardian Student Media Awards for Best Student Website. Update: I've just been (jokingly) told off by Fraggy for singing Bloc's praises since UPSU.net didn't win anything this year. Credit where credit's due to Bloc, so this article stays :oP WelcomeWelcome to my online ramblings repository. As of Friday 16th March, I have been sentenced to serve an extra 18 months in Portsmouth as a Sabbatical officer at the Union. Until then, I have to get my degree and train up to be a Sabb while running UPSU.net busiest tagsbank charges blogs bugs campaigning democracy development elections facebook flickr homepage not work pugwash purple wednesdays randomness sabbs stupidity upsu upsu.net web 2.0 workCalendar« October 2008
about me"Grumpy, geeky old grey-head"
my degreeBSc (Hons) eCommerce & Internet Systems (I got a Desmon) blogroll & links (what's this?)More from me...UPSU stuff...Definitely read this...
Radio & other meejaFlickr picswww.flickr.com
This is a Flickr badge showing public photos from upsu_alexh. Make your own badge here.
Adventures in Skype
Musical nonsense...ImaginiLatest entriesLatest commentsmy interestsmusic, djing, gadgets, web design, sleep Search this blog
Bookmarkdigg this | technorati | del.icio.us | facebook | on your computer (what's this?) Browsehome | news | events | social:life | photo galleries | student life | get involved | forums | blogs Exploresearch | UPSUuuuuugle | tags: news & webpages, blogs, members' interests Services
jobshop
|
copy shop
|
news desk & press
|
corporate
|
advertising
|
Help & infodirectory | help | privacy | conditions of use | feedback The Unionabout | contact | map & directions | opening hours | the union on facebook 589 people are currently reading UPSU.net |
|
|||||||||||||||||||||||||||||||||||||||||||


