Drupal - iTweak Upload & Contemplate

Another very short post (in a terrible hurry!) -> How to arrange for an iTweak Upload file list to be dislayed in your node content template (contemplate)?

Well, i'm not sure if this is the best way to do this, I couldn't much info out there on the subject, but this worked for me...

<?php print theme('upload_attachments', $node->files); ?>

Here's some more info on the subject - http://drupal.org/node/214564

Drupal - Taxonomy / Contemplate

Here is a link to a handy article that shows how to output a node's taxonomy terms (as links) from a drupal content template (contemplate).

http://drupal.org/node/92838#comment-190334

Ubercart - Option Images installs!

uc_option_image works

Shane and I had a tough enough day yesterday getting the Ubercart Option Images Module (uc_option_image) to work on an eCommerce site we are developing for a client in Dublin; plenty of head scratching with some mild cursing - but we finally got it running very nicely indeed and have decided to write a few notes on the process in the hope that they might help someone else in a similar pickle.

Drupal - Webform, Not Authorized

in

Q: I am using the drupal webform module to implement a 'Contact us' type form but when an anonymous user tries to submit the form they get this error: 'You are not authorized to access this page.' How can I fix this?
A: Make sure that the webform node is marked as 'published'.

Drupal - Date Field, Remove 'All Day'

in

Q: How can I remove the 'All Day' text that is sometimes displayed at the end of a date?
A: Make a small addition to your theme's template.php file and theme it out of existence!

Drupal - Override print.css in Theme

Q: How can I override the default print.css with a .css file in my theme folder? I put print.css into my theme folder but it's not being used.

A: To use your own print.css file you have to configure the 'Printer, e-mail and PDF versions' module to specify which .css file that it should use.

Drupal - Upload File Size in Blacknight

in

Q: How can I increase the max upload file size on a Blacknight Unix hosting plan, drupal says that it's currently just 2Mb?

A: Add a little php.ini file to your drupal root and add some lines to the root .htaccess file as follows:.

The Whitehouse switches to Drupal

in
yes.PNG

The Register reports today that the whitehouse under Obama has switched its website over to Drupal.

And sure enough http://www.isthissitebuiltwithdrupal.com/ when asked to check http://www.whitehouse.gov/ says 'Yes'.

So, congratulations to the new administration on a good policy decision!

Now I must give Leinster House a quick buz before I forget...

CSS Positioning Tips

float.png

I have always had a bit of a blind spot when it comes to CSS positioning we are lucky to have Sinead our very own CSS ninja for whom CSS positioning holds no terror, but sometimes I feel the need to stand on my own two feet when helping to build clients' websites to Shane & Sinead's exacting designs.

Drupal - Page Template for Node Type

glove

Q: How can you easily specify an alternative page template to be used when displaying a node of a particular content type in Drupal 6?

A: Use the Node Template module, supply an alternative page template file in your target theme folder and configure your content type to use this new template.


LiveZilla Live Help
phone-number.png