That may sound like an obvious question, and the majority of small business owners would answer with something like “It promotes my business online”. Whilst that is true, the majority of small business websites massively underperform due to misconceptions of how internet marketing really works.
Are you losing clients in a Flash?
How would you feel if your business was invisible to 12.95% of all potential clients?
Considering the current financial market, I’m sure it would make you feel rather ill. Running a Flash based or dependant business website means you are invisible to the majority of mobile internet users, and the figures are set to massively increase over the next few years.
Theming the registration form in Drupal 7
The standard 'out of the box' user registration form in Drupal is not the prettiest of forms and isn't very straight forward to theme either because it doesn't respond to simply creating a user--register.tpl.php in the templates folder. The old override method in Drupal 6 doesn't work anymore due to internal alterations that are way over my head. So I set about to find out how to theme a custom form I had built in Drupal 7.
Accessing Plesk directories outside httpdocs / php open_basedir error
PHP open_basedir errors occur when a script tries to access a directory outside of httpdocs. For security reasons Plesk only allows access to the httpdocs and tmp directories.
So what if you need to access a different directory?
The easiest way is to amend the vhost.conf file of the
specific domain.
Drupal multisite in a Linux / Parallels / Plesk 8 setup
You have Plesk 8 running on your Apache server and would like to create multiple websites using one Drupal codebase.
Let me tell you...this was a bitch. But don't panic...it's do-able.
Adding custom body classes to the standard Drupal output
Here's a great trick if you need to add custom classes to the body tag output of your Drupal theme. This goes above the standard body tag output using a line like this in your page.tpl.php
<body class="<?php print $body_classes; ?>">
Which only creates the usual body classes like:
<body class="front logged-in page-node one-sidebar sidebar-right">
Theming simple field type views in Drupal
If you're into theming Drupal...or more specifically Drupal content output, then at some point you will want to make your Views output look a little prettier. Often the standard html output is far from useful and you will at some point feel the need to alter this. While this is relatively easy with node style output, it is often not so clear with the field style...and was for me a
big 'A-ha' moment.
Create a subdomain in Plesk with www prefix
Subdomains set up in Plesk VPS enviroments are usually only available without the www prefix on the domain name. This means that the subdomain subdomain.example.com will work where www.subdomain.example.com returns a "Server not found" error.
