While Joomla 2.5+ provides a neat way of retrieving filtered input, working with unfiltered input is not as straight forward. Retrieving input in Joomla 2.5+ is done by using JInput. We can access the JInput object like this: JFactory::getApplication()->input; If we are retrieving more values, it would
Read more →
Ladies and gentleman, I want to present to you my latest WordPress plugin: MB Calendar, the FREE version of MB WordPress Calendar! Description Requirements: PHP 5 or greater WordPress 3.0 or greater No coding skills Features Changeable first day of the week Create unlimited calendars Each calendar
Read more →
When developing a Joomla component, browsing between the administrator and front-end components directories, not to mention the language directories can be very time consuming and annoying. In my current tutorial I will give you some tips and tricks on how to save your time and nerves. It’s
Read more →March 2012 – my poor laptop’s hard disk passed away (two weeks after its warranty expired)… For a good while, my laptop did not turn on… But I kept pushing the button from time to time anyway. It was to no avail… Until one day, when it
Read more →
Ladies and gentleman, I want to present to you my latest WordPress plugin: MB WordPress Calendar! It is a versatile and powerful calendar/event system for your WordPress website, packed with lots of nice features like: Create unlimited calendars Each calendar and event can be customized using a
Read more →Validating a date using PHP is pretty straightforward and easy and there are plenty of methods out there of doing this, but I want to show you a few of my own methods. The function below takes two strings as parameters, $date (e.g.: 12/13/2012) and $format (valid
Read more →
The PHP function, checkdate, should be a lesson to all the pessimistic folks out there saying the world will end and such things! Here’s why: That’s the spirit, checkdate!
Read more →Working on a WordPress calendar plugin, I needed some kind of Javascript date validation. As JS doesn’t have a native date validation function, I googled a bit and came across various validation methods, from REGEX to some overcomplicated stuff, so I decided to write my own function.
Read more →
Need to do a quick unit conversion or calculation without using any special tools? Well, if you happen to use Firefox or IE (having Google selected as a search engine), or, obviously, Google Chrome, then you can use the search box to do just that. Simply write
Read more →
Recent Comments