Drupal 6
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);
$…
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/…
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…
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 115
With the help of good ol’ Google, I managed to find FISHTRAP who had also experienced the same error…
In both of…
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…
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…
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.
.…
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).
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…