Posts Categorized: web design

WordPress Upgrades and LDAPS

I have a WordPress installation which uses LDAP against Active Directory to authenticate users. I upgraded PHP to version 5.3.8 from version 5.1.6 (using the Atomic Repository) and also upgraded WordPress and the LDAP plugin. I’m not sure which upgrade caused me problems but users were then unable to login with their LDAP accounts. The… Read more »

Website Vulnerability Scanning

So I tested out Skipfish today to do a quick check on a website / web server. Hosted on Google at: http://code.google.com/p/skipfish/ download it, extract it and make and run: wget http://skipfish.googlecode.com/files/skipfish-2.01b.tgz tar xzf skipfish-2.01b.tgz cd skipfish* cp ./dictionaries/medium.wl . make ./skipfish -o ./myreport http://domain.co.uk/index.php Skipfish will create an HTML report in the ./myreport directory… Read more »

jqplot Problem and Simple Example

This is a simple example usage of the jqPlot jQuery plugin. The example on the author website omits the “, {}” options in the .jqplot function call. <html> <head> <script type=”text/javascript” src=”./scripts/jquery-ui/js/jquery-1.4.2.min.js”></script> <script type=”text/javascript” src=”./scripts/jqplot/jquery.jqplot.min.js”></script> <link rel=”stylesheet” href=”./scripts/jqplot/jquery.jqplot.min.css” type=”text/css” media=”all” /> <!–[if IE]><script language=”javascript” type=”text/javascript” src=”./scripts/jqplot/excanvas.js”></script><![endif]–> <script> $(document).ready(function() { $.jqplot.config.enablePlugins = true; alert(‘1’); $.jqplot(‘chartdiv’, [[[1,… Read more »

Piwik Funnel Plugin

The goals analysis in Piwik is a little limited in comparison with Google Analytics but the following plugin which is in development looks promising and of use already.http://dev.piwik.org/trac/ticket/220

Google Font Directory

The Droid Sans font from Google Font Directory is a lovely font with great readability for use on web pages.To use Droid Sans add a css link: <link href=’http://fonts.googleapis.com/css?family=Droid+Sans‘ rel=’stylesheet’ type=’text/css’> then in your own CSS file add a reference to the font e.g. body { font-family: ‘Droid Sans‘, arial, helvetica , sans-serif; } Loading… Read more »

TinyMCE for Sending Email

I had an issue today with TinyMCE WYSIWYG editor which uses proper XHTML and CSS for aligning elements. This is all good for CMS style usage but my usage was for sending HTML emails and on some email clients the alignment in CSS is ignored. I really needed the images to be aligned with align=”right”…. Read more »

Images Working in IE but not Firefox

I had an issue today while working on Peter Fitzpatrick Estate Agents website. I had an image to add to the side bar to focus visitors attention on a new service. Mistakenly I had named that image with the word ‘ad’ in it. It loaded OK in Internet Explorer but Firefox refused to load it…. Read more »

jQuery Zebra Stripes

Traditionally I added these tiger/zebra stripes for alternate row colours within PHP but with jQuery we can accomplish the same with the following. I had a little difficulty getting the rollover to work initially until I worked out that I needed to combine the .mouseover and .mouseout onto one line and also remove the unneeded… Read more »

Internet Explorer 8 CSS Issues

I had a brief issue with a quickly thrown together website. Specifically the margin:auto; centering was not working in IE8 and jQuery scripts were not behaving. I found out that this was related to the lack of a DTD e.g. <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> More explanation of doctypes is here.