Configure simplenews to include images in the newsletter

To include images in the simeplenews newsletter, you can add a Image field to the simplenews content type.

However, this image will be shown in the received email exactly as it appears when you view the newsletter on the site. For instance, the image may appear after the body content as a separate field.

Probably you want the image to appear at a location of your chosing withing the body content.

To do this, add a File field to the simplenews content type. Under Manage display, set it to hidden.

Send HTML newsletters in Drupal 7 with the HTMLMail module

In this corresponding article install Drupal 7.

Then, install the required modules for HTMLMail.

cd sites/all//modules

drush dl mailsystem

drush dl htmlmail

drush dl simplenews

sudo chgrp -R www-data .

Enable the modules and congfiure HTML Mail.

Send a test message with HTML Mail making sure the Text format is Full HTML and the sending class is HTMLMailSystem.

Use Drupal 7 Simplenews to send HTML newsletters with the MimeMail module

Here’s how to send HTML newsletters in Drupal 7 using the Simplenews module in Ubuntu from the ground up. This walk-thru assumes you are working on a laptop and the Drupal webserver is running on a separate VM.

Install Drupal

drush dl drupal-7

Move the resulting drupal-7 directory to its proper location in /var/www and rename as required.

Create a test site in the sites folder.

Recover Eclipse editing session

If Windows crashes while you have a document open in Eclipse, you may find that the contents are cleared when you get back in.

To fix this, locate your workspace.

Then find .metadata/.plugins/org.eclipse.core.resources/.history/

Sort the folders by date. Find the most recent.

Open the folder contents in an editor like Sublime Text.

 

Recover SQL Developer editing session

Recently, in Windows 10, SQL Developer locked up and stopped responding. I had spent a couple hours on my really awesome query and I wasn’t sure when I had saved last. Once it has stopped responding, I couldn’t get SQL Developer to save the file.

After a reboot I opened the file in SQL Developer. It was blank. I opened it usign Sublime Text and saw that it contained all zeros.

As it was a new file, I did not have any history in git so there was no opportunity to recover that way.

Adding GoDaddy email forwards

Domain name registration typically includes email forwarding for free. Pretty common. GoDaddy is no exception. However, the effort required to figure out how to enable forwarding at GoDaddy is nothing short of Herculean. There is no shortage of very venomous discussion about this on GoDaddy’s forums and elsewhere. Lots of frustration. But very little actual help.

Fixing VMWare Player Bridged Network

After a recent shut-down of all our systems which include physical and virtual machines, the vm’s running under VMWare Player would not connect to the network. Our vm’s use the bridged network method since they provide services, and this method stopped working.

I googled “diagnose vmware player networking” and found several good articles

Tags: 

Pages

Subscribe to Front page feed