4/03/2009
Been battling with the excellent NextGen gallery plugin for Wordpress this afternoon.
I had created an Album, which is a container for mutiple Galleries. Simple enough. But then, once you had selected a Gallery, I wanted to display the Gallery description on the Gallery page above the thumbnails.
In the Manage gallery section you can type a description, but it didn’t seem there was any way to display that on the actual website.
So if you need to, open the file gallery.php which is inside the plugins directory, nextgen-gallery/view/gallery.php
Next, above the line
<div class="ngg-galleryoverview" id="ngg-gallery-<?php echo $gallery->ID ?>">
add this:
<h2><?php echo $gallery->title; ?></h2>
<p class="gallery-desc"><?php echo nl2br($gallery->description); ?></p>
This will give you an H2 with the Gallery Title, and then the description below it.
13/01/2009
Just got a new server in the office so updated to the latest EasyPHP – version 3. However, all was not smooth:
- At first I kept getting a “permission denied” error – you’ll need to search the httpd.conf file for the <Directory /> container and get rid of
Deny from all. (Or at least comment it out, anyway.)
- The mod-rewrite wouldn’t work. Two steps to fix this:
- Search httpd.conf for mod_rewrite and uncomment the
LoadModule line.
- Search for AllowOverride. There should be two instances where you need to change
None to All. (Source)
Now I can get back to work!
29/11/2007
Many years ago the Web Standards Project (or WASP) fought the fine fight to pressure browser manufacturers into complying with some sort of standard version of HTML. Prior to that we almost had to build separate sites for Netscape and Internet Explorer – it was horrible.
We have come so far with browsers, but unfortunately most email clients are, well, a long way behind. If you have ever tested an HTML email in a few different clients you’ll know the frustration.
Yesterday’s launch of the Email Standards Project hopes to remedy this situation. Some people love it, some hate it, but HTML email is here to stay. And if we could have the proper standards support in email clients then it’s probably fair to say that a lot of those opposed would change their mind.
We have a long way to go, but at least now we have a vehicle!