If you need a London based Drupal developer you can hire me. Check the availability page and contact me on info@aprium.net.
The new version of Drupal 6.14 now supports PHP 5.3. This news was tacked onto the bottom of the 6.14 release notes and read:
Drupal 6.14 is the first stable release to support PHP 5.3.0, but this might not be true about the contributed modules you are using. Watch out for updates to your contributed modules if you experience problems with PHP 5.3.0 support.
This is great news for me because like many OS X users I upgraded to snow leopard which comes bundled with PHP 5.3 and stop all by Drupal projects from running.
hook_uc_cart_alter is a really useful hook if you need to change items in the shopping cart. It replaces the need to theme all the check out pages individually.
The shopping cart items come through as a by reference parameter. This means you don't have to return the variable.
$items[0]->title = 'testings';
I have been asked to configure the location 6.x-3.1-rc1 module to allows a postcode proximity search. This allows you to search for nodes within 5 miles of a postcode which is very powerful. Out of the box location 3.1 looks like it supports it, however when activated for the uk the search will just return nothing.
The Drupal views system is awesome and delivers graphical query building with fast performance. However from time to time you may wish to add certain complexity to your view that the module just cant deliver.
After updating to Date API 2.0 we ran the update.php and started to get this error on various pages.
user warning: Duplicate entry 'F j, Y - H:i' for key 2 query: INSERT INTO date_format (format, type, locked) VALUES ('F j, Y - H:i', 'medium', 1) in /xxx/Sites/htdocs/bmi/includes/common.inc on line 3425
This article covers how to write a Mysql backup script for shell. First of all we need to create the file so open a new text file called backup.sh and set the first line as.
#!/usr/bin/expect
We are using an expect script because it is better suited to dealing with remote requests and responses. The script is going to run like a command and will use the following parameters.
I have been having problems with the new menu system in Drupal 6. When editing my module menus an error started to appear which was "warning: Invalid argument supplied for foreach() in *****/includes/menu.inc on line 258". I first fixed this by rebuilding my menus which was done by adding the following code to the top of my index.php.
Im currently building a contractors book keeping module to store invoices. I have a new content type and I wanted to theme that new node type from a template in my modules directory. But I also wanted to allow the user to override the template with one in there theme directory if they wished.
After a while of trying different search terms in google I managed to find an article on the matter.
http://shellmultimedia.com/articles/hookthemeregistryalter-advanced-template-control
The drupal ecommerce solution has a problem with the shipping email. On a fresh install of version 3.x the 'shipping notify' option will throw the error message "Mail template for ec_mail_shipping_notification could not be found!". There is this support request on drupal.org that will fix it. Follow the link bellow and apply the patch from JohnAlbin, comment #4. http://drupal.org/node/162512 You should now have a default shipping drop down in the store options.
The drupal ecommerce mode clears the contents of the cart when you enter the payment system. This is annoying because if a user fails the payment there shopping cart is emptied and may have taken a long time to create. I found this one a little hard to debug as it is actually an implementation of hook_ec_transactionapi in the cart itself. To fix this problem just go into the ecommerce module and comment out the line cart_empty in the cart_ec_transactionapi function. You will then need to clear the cart down yourself either in your payment gateway or payment success node.
If you need a London based Drupal developer you can hire me. Check the availability page and contact me on info@aprium.net.