Category Archives: cPanel/Linux Hosting

Fatal Error Cannot Redeclare Class

In the previous article, we used code like this to prevent collisions between function names: The problem with this code is that if it’s called more than once on a …

Tags: , , , | Posted under MODX, MODX | Leave a comment

Drupal7: Amend View Header when no View Results present

I have more than a few websites out in the wild (live). And occasionally all have some minor touch-ups they require from time to time for odd bugs or improvements …

Tags: , , | Posted under Drupal | Leave a comment

SocialEngine 4: Prevent Right Clicks on Website

Some webmasters like to protect their sites and its users content. One method of doing this is disabling the right click of the mouse button. The script below is a cross browser …

Tags: , , , , | Posted under SocialEngine | Leave a comment