Connect with Peer Bloggers

Get your Bloggers ID and network with best bloggers around the world.

Dan Richard's Blog

Hello, pull up a chair and make yourself at home. My name is Dan Richards and I am a Web developer from a little town called Wadebridge in Cornwall....
16

Local fallback jQuery (with a twist of Joomla)

Dan Richard's Blog ― It’s been a while since the last post, but here were go again anyway! Today there was a small problem with OpenDNS whereby anyone using their service would find that Google’s content delivery network was blocked as a phishing site. Oh... (more)
 DanielMRichards ― Posted on Jan 4th, 2012
4

2011 in review

Dan Richard's Blog ― The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog. Here’s an excerpt: A New York City subway train holds 1,200 people. This blog was viewed about 4,000 times in 2011. If it were a NYC subway train, it would take... (more)
 DanielMRichards ― Posted on Dec 31st, 2011
65

XML dateTime and PHP

Dan Richard's Blog ― Today I had to grapple with a Sage based web service and I discovered that XML dateTime formats can give you a large headache Foolishly I thought that being a format called dateTime, i could simply pass the webservice a standard PHP date string 19/7... (more)
 DanielMRichards ― Posted on Jul 20th, 2011
59

The height(); of bad manners

Dan Richard's Blog ― Hello there, to quote Alec Guiness, today i’ve found yet another jQuery inconsistency that needs to be made note of! It would seem that certain version of IE (looks like 8 and 9) along with Opera don’t officially support the jQuery height... (more)
 DanielMRichards ― Posted on Jul 13th, 2011
97

HTML over Flash

Dan Richard's Blog ― Well it’s been a while since the last post but that doesn’t mean the quality has gone down! Today I needed to show a normal HTML anchor tag, a close button, but over the top of some flash content. Now this works fine in firefox, just... (more)
 DanielMRichards ― Posted on May 23rd, 2011
89

Add to Joomla message queue

Dan Richard's Blog ― Joomla has an internal message system, which queues up pieces of information to relay back to user. You can push messages to the end of this queue very simply In some cases you will not need to access this queue as you can simply used the setRedirect... (more)
 DanielMRichards ― Posted on Apr 20th, 2011
102

Get Joomla template name

Dan Richard's Blog ― How do you get the name of the current template on joomla? Simple as this: $app =& JFactory::getApplication(); $template = $app->getTemplate(); (more)
 DanielMRichards ― Posted on Apr 2nd, 2011
108

Change Joomla’s language at run time

Dan Richard's Blog ― I have been recently working on a website which is required to be available in multiple languages, this is something that Joomla makes fairly simple. Through its implementation of language files and language packs, it is easy to have multiple... (more)
 DanielMRichards ― Posted on Feb 24th, 2011
89

Joomla component parameters – Do it your way!

Dan Richard's Blog ― First of all, an acknowledgment. I can’t take credit for this information as I found it on another blog: http://onestoryeveryday.com/joomla-component-parameter-save-and-persist.html. But I felt that the post was so good it was worth repeating... (more)
 DanielMRichards ― Posted on Jan 21st, 2011
103

Limit checkbox selection with jQuery

Dan Richard's Blog ― At some point you may come across a situation where you need a user to select a set number of options from a group of checkboxes, in this case a radio group may not be suitable In my example I needed only one checkbox to be selected, now why did I... (more)
 DanielMRichards ― Posted on Dec 22nd, 2010
93

VirtualBox Kernel bug on Mac OS X

Dan Richard's Blog ― A slight departure from my normal webby/development type posts today; virtualbox (my virtualisation package of choice) seems to have developed an odd error on my mac. Luckily I know how to get around it and it’s time to share the wealth :p The... (more)
 DanielMRichards ― Posted on Dec 1st, 2010
84

Opening a Joomla lightbox, from jQuery generated HTML

Dan Richard's Blog ― Today I have been dealing with an infuriating problem concerning joomla lightboxes. Opening them seems to be a little more situation specific than I thought! Normally you just ensure that you are using the Joomla modal behavior by including this at... (more)
 DanielMRichards ― Posted on Nov 24th, 2010
41

Webkit and textarea

Dan Richard's Blog ― Just a quick post today, at some stage you may be using textarea in a page and you may notice that webkit browsers do something fancy These browsers (chrome, safari etc) add a dragable resize handle to the bottom right corner of a textarea. This is... (more)
 DanielMRichards ― Posted on Nov 15th, 2010
5

Wednesday double post of doom…part 2

Dan Richard's Blog ― Here is the second post in my wednesday posting fest of terror….ok i’ll calm down. This one is concerned with using Joomla mailer, which in turn is based upon the PhpMailer class. I came across a bug when working on an ecommerce site. The... (more)
 DanielMRichards ― Posted on Nov 10th, 2010
19

Wednesday double post of doom…part 1

Dan Richard's Blog ― Today i’m doing two posts, I know, what kind of crazy man am I?! The first post is a little htaccess wizardry. This morning I was finishing off some SEF tweaks to an existing site, but there was one contentious issue with an article. The... (more)
 DanielMRichards ― Posted on Nov 10th, 2010