Dannyherran - dannyherran.com - Danny Herran
General Information:
Latest News:
How to load and use SimplePie 1.3+ with CodeIgniter 2.1+ 19 Jun 2013 | 05:10 am
The famous RSS parser, SimplePie, has changed a few rules in the last couple of versions. The previous methods used to install the library in CodeIgniter are now obsolete. Lets take a look at the new ...
How to automatically force a cache refresh on CSS and JavaScript files with PHP? 30 Dec 2012 | 11:41 pm
There is your client, complaining that they can’t see the changes you just made to their website. You explain them that they need to delete their browser cache in order to properly visualize the modif...
Integrating the jQuery Validation plugin with Twitter Bootstrap 22 Oct 2012 | 10:37 pm
Twitter Bootstrap has some nice styling for error messages in forms. Using jQuery form validation could come handy and its actually pretty easy to integrate. The question is, how do we use the Bootstr...
Mobile browser detection for WordPress – embedded is_mobile() function 8 Mar 2012 | 06:06 am
Lets face it. Responsive design is here to stay and it is the solution to all of our nightmares regarding mobile web design. For those who are not aware of this technique, I invite you to read my othe...
How is responsive design the answer to mobile web consumption? 14 Feb 2012 | 08:36 am
The number of people perusing the web on mobile devices is huge, nobody can say otherwise. Ericsson reported that in the past year, mobile traffic more than doubled. The number of users in the United ...
Load several instances of your Tweet, Like and +1 buttons asynchronously 23 Sep 2011 | 12:09 pm
In one of my blogs, I was having issues with page loading because the social buttons were locking the page when they were being rendered. This is a serious issue for the visitor, since most of them ju...
Finding unique array combinations with PHP (permutations) 24 Jun 2011 | 11:08 am
I was developing a website where people would place horse bets and the system should be able to calculate all the possible permutations based on the user selection. That means: finding all the possibl...
How to add a Twitter Poll to your website 18 Jun 2011 | 05:12 am
Twitter is great and with it comes great ideas from everywhere. Today, I decided to try a new kind of poll that I really liked and will boost your Twitter mentions a lot. I am talking about Twitter Po...
How to add the Google +1 button to your website 2 Jun 2011 | 06:54 pm
Google started rolling the +1 button as an experimental version of Google Search. Today, the +1 button is available to everyone and this means that “you” as a webmaster can add the +1 button to your w...
Twitter adds a one-stop ‘Follow’ button for websites 1 Jun 2011 | 06:06 pm
Good news for us developers. Twitter added a new “Follow” button so people can one-click and follow you without leaving your website. It even pops a couple of tweets and some information about your pr...