Drupal Blogs, Pictures, and more on WordPress: Drupal module of the day, Simplenews
Image by LollyKnit via Flickr
As stated in the Drupal website, Simplenews publishes and sends newsletters to lists of subscribers. It is one of my favorite modules, the reason being that it is quite easy to configure and very powerful once you use it. If your client needs a newsletter solution that integrates with Drupal, Simplenews might be the answer.
Drupal Blogs, Pictures, and more on WordPress: Drupal
Download the Drupal code and install it to /var/www/drupal
All the prerequisite are the same as for OpenPublish. Please see these before you start, this includes creating a database.
Just a note, once you have the system up and running, you will probably remove the login box, the URL to allow you to logon and administer the site is
The admin page is http://x.x.x.x/drupal/?q=user
Navigate to /var/www/drupal/sites/default
mkdir files
chmod o+rw files
cp default.settings.php settings.php
chmod o+rw default.settings.php
chmod o+rw settings.php
http://x.x.x.x/drupal/setup
This will start the installation.
Once done you will have an empty web site. One useful tool to have is a Wysywig creator for you content, I am lead to believe that
Wysiwyg with TinyMCE is a good bet
Download from the respective sites.
Copy or move the
cp -R wysiwyg /var/www/drupal/modules/wysiwyg
Drupal Blogs, Pictures, and more on WordPress: Backwards-compatible URLs in Drupal
Last week, I wrote a therapeutic post about our effort to provide backward-compatibility in the next version of a website, saying that I’d post again with notes on how we ended up solving the problem. This is that post.
To recap, we have almost 800 URLs on the current version of a site that are in the format of
http://www.example.org/foo.asp?foo=123
These URLs are all going to have to redirect (via 301 redirect if possible) to a URL like
http://www.example.org/node/839
In the end, we’ve used the Drupal module path_redirect, which offers the ability to provide everything we need. I wrote a simple script that looked up all 750+ records from the old CMS that powers the current/old website, and populated the path_redirect table in our Drupal database with those shortcuts, and the node/NID path for the new locations. The redirects are set up to respond with 301 Moved Permanently status codes.
Drupal Blogs, Pictures, and more on WordPress: Drupal - OpenPublish
OpenPublish is build on Drupal and is my first foray into the world of Drupal.
I have not started with the core Drupal product as I need to quickly evaluate a CMS for an intranet project. This appears ideal for the this so here goes.
OpenPublish requires GD installed and configured
apt-get install php5-gd
Restart Apache
/etc/init.d/apache2 restart
You also need a MySql database configured before you can start the install, Install PHPMyAdmin and follow the instruction on getting it to work.
When it is on your system open the web site http://x.x.x.x//phpMyAdmin
logon on with your normal credetials and then choose database
Create new database
The download of OpenPublish at the time of writing was here.
Download and unzip and un-tar
copy the result into the /var/www forlder.
cp -r openpublish /var/www/openpublish
Some of the directories need write privileges for setup these are as follows:
cd /var/www/openpublish/sites/default
chmod -R o+rw files
