Drupal Archive
-
Drupal 6 Set-up on Heart Internet
Posted on 12th Dec 2011 | No CommentsThis is more for myself, but good if it helps someone else too…. This is a Drupal 6 (6.22) set-up on Heart Internet hosting (Reseller account). Once the hosting account... -
PHP Get Defined Vars
Posted on 12th Sep 2011 | No CommentsEver wanted to see the variables in a page? Warning!! It’ll show all of them…. <?php print_r(get_defined_vars()); ?> -
Handling RSS feeds with Drupal View Module
Posted on 10th Jun 2011 | No CommentsThis is a great way to pull information from an RSS feed… Spot on ‘Drews’! https://drupal.ucar.edu/forum/node/155 -
Check if user is ‘logged in’ or is ‘admin’
Posted on 2nd May 2011 | No CommentsIf you have a Drupal 6 site, and need to secure a page so only users logged in can see it, do the following… if(user_is_logged_in() != TRUE){ // Do stuff,... -
Send email when comment is submitted
Posted on 14th Apr 2011 | No CommentsOh yes, this one is vital, and the thinking behind the steps involved can be applied to achieve other vitalk functionality… http://thewichitacomputerguy.com/blog/email-drupal-comments-approval-admin-email-address -
$_SESSION in Drupal
Posted on 12th Feb 2011 | No CommentsIt’s easy to think that you can’t use $_SESSION in Drupal as it’s configured in a different way to a normal PHP site… I haven’t looked into it in-depth, but... -
Drupal Views – Table Sort
Posted on 12th Feb 2011 | No CommentsWhen using ‘table’ as the display mode in Drupal views module, I noticed the settings I set under ‘sort’ were being ignored. If you click the icon next to ‘table’...









