Ouch

That's just awful.

displaying comment text within email notification of new comment?

I posted this on drupal.org a while back and it hasn't gotten any responses.
A bit more exposure couldn't hurt...

Reducing the file size of a pdf

Sometimes, when creating a pdf from a Word doc, I find that the file size is just way too big.  Often, a single page pdf can have a file size of 100k or larger.

To get the file size down to a reasonable level, I print it.  But rather than sending to a printer, I send it to Adobe PDF.  

After selecting Print from the file menu ->

Choose Adobe PDF, rather than a physical printer.  When prompted for a file name and destination, I choose the same file, thus overwriting it.

Adding images to Drupal nodes

 Search for a bit and you'll see a lot of different ways to enable adding images to nodes in Drupal.  Some straightforward explanations say to use ICME and a WYSIWYG editor.  That's what I did here.  However, simply enabling the modules is not enough.  I beat myself up everytime I try to add this kind of functionality, so I'm documenting it here, in my handy dandy notebook.

Displaying the current date

In order to have a line that displays the current date on the site:

the following code can be added:

<?php print format_date(time(), 'custom', 'M. j, Y'); ?>

In my case, I added this code to a custom template for the user log-in information that displays at the top of the page.  That file is called 'user-login-block.tpl.php'.

Syndicate content