Skip to main content

Drupal 6

Get Term Name From Term Id
Get Term Name From Term Id
Ever managed to pull a 'term id' using Drupal Views, yet really need to display the 'term name'? Well, thanks to Vicky on the Stack Overflow site, here's the solution... Place this function in template file... function getTermsName($taxnomyid){ $terms = taxonomy_get_term($taxnomyid); $...
Why Drupal is King
Why Drupal is King
I often get asked this question.... so here is my answer.... Most have been pulled from other sites, and links to those sites have been included... The last section are my own personal thoughts... Here are some ‘points’ with explanations I’ve pulled from, http://www.volacci.com/blog/ben-finklea/...
White Screen After Updating Date Module
White Screen After Updating Date Module
I'm always a little cautious when updating modules, so I tend to download and unpack the new modules into a 'workings' folder rather than the 'modules' folder... Then I make sure I have downloaded the current (now out of date) module from the server using FTP so I have all of the files that are...
Unable to save result set in /includes/database.mysql.inc on line 115
Unable to save result set in /includes/database.mysql.inc on line 115
So here’s the scenario… A perfectly working Drupal site, without errors suddenly starts spitting out an error: Unable to save result set in /includes/database.mysql.inc on line 115With the help of good ol’ Google, I managed to find FISHTRAP who had also experienced the same error… In both of our...
Override page.tpl.php for a certain content type
Override page.tpl.php for a certain content type
Sometimes it’s handy to use a different page.tpl.php for a certain content type. Maybe the page has a different layout, needs additional regions not used on other pages, etc… For starters, lets use some example names/variables, lets say: The theme I’m using is called ‘myTheme’ The ‘content type’ I...
Backup Drupal 6 Sites with the Backup & Migrate Module
Backup Drupal 6 Sites with the Backup & Migrate Module
In light of recent events, where I managed to delete a database that I shouldn’t have… I figured I should make sure that all of my Heart Internet hosted Drupal accounts are backed up on a daily basis… As this is very easily done on a Drupal site via the ‘Backup and Migrate’ module, I figured I’d...
Drupal XML Sitemap Module Setup
Drupal XML Sitemap Module Setup
OK, I’ve managed to get to the bottom of it… For the life of me I couldn’t figure out how to get the XML Sitemap module to show pages other than the home page… Then I found it! Step 1 – Enable the module(s) . Go to ‘admin/build/modules/list’ and at the very bottom is the ‘XML Sitemap’ module. ....
Drupal 6 Set-up on Heart Internet
Drupal 6 Set-up on Heart Internet
This 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).
Add new Region to Drupal Theme
Add new Region to Drupal Theme
There are loads of themes available, but you’ll rarely find one that’s exactly what you want (or what the client wants), straight out of the bag… So at some point you’ll need to add a region, and this is how. In each ‘theme’ you will have a .info file, a page.tpl.php file and the style sheet. The ....
 
 
Jon Moore

Search form

Jon Moore

Tips 'n' Snips

 
  • Home
  • General
  • Drupal
    • Drupal 6
    • Drupal 7
    • Module Building
  • HTML & CSS
  • Javascript
  • jQuery
  • PHP
    • CodeIgniter
    • Handy Functions
    • MySQL
  • WordPress
  • About

BBC Technology News

  • Huawei launches new legal challenge against US ban
  • Lotus Evija: The £2.2m electric hypercar
  • Cave diver tells court Elon Musk tweets 'humiliated' him
  • Mars rover aims to grab a piece of history
  • BolaWrap: LA police to use 'Batman-style' device to snare suspects
More

Sitepoint

  • The Real Future of Remote Work is Asynchronous
  • 7 Ways Developers Can Contribute to Climate Action
  • How to Divert Traffic Using IP2Location in a Next.js Website
  • 10 Zsh Tips & Tricks: Configuration, Customization & Usage
  • Building a Habit Tracker with Prisma, Chakra UI, and React
More

Heart Internet

  • 15 web design books of 2019 that you should read
  • 12 podcasts for every creative person’s commute
  • Ten TED Talks every designer and web creative should watch before 2019 is over
  • The rise of the robots: Will AI take over graphic design?
  • 34 WordPress tutorials for modern web development
More
 

Backend Coders

  • PHP
  • Handy PHP Functions
  • PHP MySQL

Frontend Coders

  • HTML & CSS
  • jQuery
  • Javascript

CMS/CMF Systems

  • Drupal
  • Drupal 6 Specific
  • Drupal 7 Specific
  • Drupal Module Building
  • WordPress

About

  • Home
  • About
 

© Jon Moore 2019

All stock images are from www.istockphoto.com