What is MVC?
The MVC design pattern separates business logic from user interface Model–View–Controller is a design pattern or a software engineering concept […]
The MVC design pattern separates business logic from user interface Model–View–Controller is a design pattern or a software engineering concept […]
Sometimes you want to hide the breadcrumbs in a single page an keep it in the others, either using a
PHP code to remove breadcrumbs in a Drupal page Read Post »
You can check that a user is an administrator or not like this: if(user_access(‘administer’)) echo ‘I am an admin’; else
Check that a user is an administrator in Drupal Read Post »
The view results count is stored in the view object and you can display it by adding a PHP header
Drupal Views: Show count Read Post »
This is a quick and easy solution to send an email from Drupal using PHP, i.e a custom module. you
Drupal: Send email Read Post »
We used to get the files directory using file_directory_path() in Drupal 5 and 6, the function was removed with Drupal
Drupal 7: Get files public directory path Read Post »
This is how I get the current path and/or alias in Drupal: After this code has been executed: $path will
Drupal : Get path and verify if it’s an alias Read Post »
The error looks like: c.widget is not a function Or: d.widget is not a function I get this error when
Fix “xyz.widget is not a function” when jQuerying in Drupal Read Post »
This happened to me in Ubuntu 11.10 (Oneiric Ocelot) when I was playing with some Compiz settings. To have your
Super key / Alt+F2 not working in Ubuntu 11.10 Read Post »
Install necessary packages In order to have Gnome classical appearance on Ubuntu 11.10 you need to install gnome-shell and gnome-panel,
Classical Gnome in Ubuntu 11.10 (Oneiric Ocelot) Read Post »
In this tutorial I’m gonna show you how to calculate and display properly the age from a date CCK field
Age from date of birth in Drupal 7 Read Post »
It isn’t quite obvious to remove an array item when all you know is the value of that item, –
PHP: remove an array item by value Read Post »
$body_classes variable and how it’s used By default, Drupal provides Drupal themes coders with a variable $body_classes which contains a
Drupal : Add classes to $body_class Read Post »
MaxMind offers a free cities database, the database contains more than 2.7 mil. locations, you can download it at MaxMind’s
MySQL World Cities database installation Read Post »
Lappy, touchpad, plugin, WordPress, vlog… and many other words are not (yet) recognized by Firefox, each time you use any
Add or Remove a word from Firefox dictionary Read Post »
Here is a small… yes, a small function for displaying a paged navigation in your WordPress powered blog without using
WordPress page navigation without using a plugin Read Post »
Note: I use Hostmonster, I can’t test elsewhere, but I think these steps will work for Bluehost too. I don’t
HowTo: Connect to Hostmonster’s SSH with a private key Read Post »
Hello, I found your website on a WordPress forum. Currently I am rebuilding a website in wordpress that is in