Enable email notifications in Open Atrium

I was struggling to find the way to enable email notifications in Open Atrium because they just didn’t work after the install and finally I found out the way that works, no need for SMTP or any other module.

Only 2 steps:
1. Install/Enable PHPmailer.
2. Enable “Immediate” notification on the admin settings page

1. Steps to install PHPMailer

If you are using php5 then take this source and extract it inside:

and make sure you save the extracted folder name like: “PHPMailer” (case sensitive)

Go to Admin > Site building > Modules and enable “Messaging PHPMailer” module.

2. Steps to enable the notifications

Go to Admin > Messaging and Notifications > Notifications Settings and tick/enable “Immediate sending” and Save Configuration.

CiviCRM, civimail cron job setup

To have your mailing actually send. We have to set up a cron job that will periodically poke CiviMail to send all of the mailings that are past their scheduled date.

Actually there are so many ways out there to do this thing, and probably are shorter, but I’ve built a script for my self to do that for me and is more clear to understand.

Note: The script works only with Drupal.

1. Create a file in /usr/local/bin/ called civicrmcron.sh
    and add the following lines in it, edit the required fields and save it: Continue reading “CiviCRM, civimail cron job setup”

Enable Drupal URL cleaner

Thanks to James Michael Dupont I was able to enable my Drupal’s Site Url cleaner.
Actually first you have to enable mod_rewrite module, than edit your virtual host so that
it includes the .htaccess file, than edit your .htaccess file and reload apache.

What you should do first is enable mod_rewrite module

# a2enmod rewrite

Than to make it easier to work edit change .htaccess to htaccess.conf on your drupal folder (mine: /var/www/drupal-7.0)

# mv /var/www/drupal-7.0/.htaccess /var/www/drupal-7.0/htaccess.conf

Before including some lines on your vhost go to /var/log/apache2/ and create some log files:

# touch drupal7-rewrite.log drupal_access.log  drupal_error.log  drupal-rewrite.log

So now you have to include htaccess.conf in your vhost, by adding these lines: Continue reading “Enable Drupal URL cleaner”

Images not showing, Open Atrium !

It happened that the Images didn’t show up when you uploaded them ??

Example: new logo or user profile Image?

Took me time to find it but anyway:

Login as admin go to the settings icon on the uper-left-corner

Follow these steps: Administer>Site configuratiion>File System

Now check the Download method: to Private – files are transferred by Drupal.

Thats it, At least this worked for me !
if it didn’t help try enabling cleanURL’s

How to Install Drupal 7 on Linux

Few Days ago Drupal 7 was released !
Because of that I decided to make a tutorial about installing and configuring it on a Linux machine
With Apache server installed on it

After Installing Apache server: Click here
You’ll have to be sure if you have php5 and some other things… so install them..

$ sudo apt-get install php5 php5-mysql php5-gd libapache2-mod-php5

after that restart your apache server:

$ sudo /etc/init.d/apache2 restart

Now go ahead and type: Continue reading “How to Install Drupal 7 on Linux”