HowTos
Often clients as that we provide an opt in option on every kind of form a visitor could possibly fill in on a website – which is a Good Idea but often difficult. The thing that people don’t tend to realise is that most forms are designed for one goal only – they send An [...]
Often for one reason or another we need to sort a list of nodes arbitrarily.
Here is a comparison list of modules to do the trick.
Here is a recipe using Weight and Views. I’ve a Content type project that are the only nodes that need sorting.
Install Weight and Views
Enable Weight, Views and Views UI
Create a new [...]
I’ve recently had trouble with Imagecache on some of our servers. People report various issues with imagecache when symlinks are used for the files directory (we do this to keep content and code separate). In our case Imagecache fails to create the preset directories **and** create images. Unfortunately Imagecache doesn’t log this particular failure in [...]
I’ve just been trying to implement this today for a current project and ran in to some difficulties figuring out a good workflow. Here are some notes.
Admin interface
Interfacing this module from an admin point of view requires 3 different configuration screens.
Image javascript crop config – admin/settings/imagecrop – the defaults are fine
Imagecache presets – admin/build/imagecache – [...]
We use Google Apps for our business email. Recently we’ve been migrating our old CalDAV server to Google Calendars. Here are a couple of tips.
All of these tips presume you’ve already set up Google Apps for your domain, configured your users and set up Google Calendars in iCal.
Migrating a calendar
In iCal highlight your old CalDAV [...]
So here are the steps I followed to get this working. I looked around for a complete end to end tutorial without success. So here is an amalgam of the release notes.
https://bitbucket.org/tortoisehg/stable/wiki/ssh
http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter8.html#pubkey
http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter9.html#pageant
Download
PuttyGen : http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe
TortoiseHG : http://tortoisehg.bitbucket.org/download/index.html
Install TortoiseHG, log out and log in again.
Launch PuttyGen and make a key.
Press Generate
Check SSH-2 RSA
Number of bits : 1024
Press [...]
Once upon a time there were three beautiful girls… Cath, Rose and Liz Ertler.
They were all very exciting and creative – possibly because they were made in Tasmania. I remember swimming across the wide bit of Gordon’s Bay with them one day and thinking “I wonder what these girls are going to do when they [...]
A work in progress.
This documents our inhouse method for maintaining three tiered deployment with revision control
# create a backup of the database
# initialise an hg repo in your local dev directory, add all content, commit and tag
# clone it to our remote repo (first time only)
localmachine:source user$ hg clone ./ ssh://repo/laudanum/scanlines
# push updates to the [...]
Ok – so I’ve used the module – and read about all the ways to do this without the module. My answer is a hybrid.
Here are some things I had to do.
Write a custom image import script
Why this didn’t happen during import I’m not clear. My script preserves post_parent, title, date modified and menu_order (weight).
Set the [...]
Create subdomain, database and database user in Plesk.
ssh into the server and cd to the subdomain directory
As root create a conf/vhost.conf file with the php.ini overrides
$ vi conf/vhost.conf
<Directory /var/www/vhosts/example.com/subdomains/vtiger/httpdocs>
php_value display_errors On
php_value max_execution_time 600
php_value error_reporting E_WARNING & ~E_NOTICE
php_value allow_call_time_pass_reference On
php_value log_errors Off
</Directory>
Reconfigure and restart Apache.
$ /usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=vtiger.example.com
$ /etc/init.d/httpd stop; /etc/init.d/httpd start
Download and untar the vtiger [...]