Twelve Dozen

Just another WordPress weblog

Archive for the ‘Uncategorized’ Category

Multisite Drupal Install

http://www.drupalcoder.com/story/205-drupal-multisite-in-subfolders

I had problems with alias. I get it working in a simpler way:
My drupal is under /var/www/drupal and I want 2 diferent sites at myserver.com/site1 and myserver.com/site2
I only need 2 simple steps:
1.-Create var/www/drupal/sites/myserver.com.site1, copy settings.php inside and setup database conection string at settings.php
2.-Create simbolic links at /var/www
sudo ln -s /var/www/drupal /var/www/site1
sudo ln -s /var/www/drupal /var/www/site2
And nothing else. It works perfectly.

  • 0 Comments
  • Filed under: Uncategorized
  • CSS3 in IE

    I’ve recently been trying to implement rounded corners in IE and since this works so well using CSS3 in firefox I’m hoping that I can find a javascript solution for IE.

    http://woork.blogspot.com/2009/08/css3-rounded-corners-for-every-browser.html

  • 0 Comments
  • Filed under: Uncategorized
  • Jquery style switcher

    http://www.cssnewbie.com/simple-jquery-stylesheet-switcher/

  • 0 Comments
  • Filed under: Uncategorized
  • Drupal Jump menu

    http://mrsimonelliott.com/blog/creating-jump-menu-drupal-using-views-some-template-overrides-and-bit-javascript

    http://drupal.org/project/jump

  • 0 Comments
  • Filed under: Uncategorized
  • http://www.zoliblog.com/2008/01/20/google-apps-and-account-chaos-almost-fixed/

  • 0 Comments
  • Filed under: Uncategorized
  • http://www.debian-administration.org/articles/284

  • 0 Comments
  • Filed under: Uncategorized
  • Drupal – Ubercart setup

    I had a problem with SagePay and IP address. This post really helped me out:

    The problem was differing IP address setup on the server.

    http://drupal.org/node/541746

    I have traced the code to see what the issue is. If I put:

    print_r($response);

    after

    list($response, $http_response_code, $curl_error) = uc_protx_vsp_direct_curl($url, $post);

    which is line 535 of the module file I get:

    Array
    (
    [VPSProtocol] => 2.23
    [Status] => INVALID
    [StatusDetail] => 3058 : The CardHolder field is required.
    )

    There is indeed no field on the screen for “CardHolder.” If I hard code that field in the code, then it proceeds. I actually realize now that the reason I thought it wasn’t connecting was because I was logging into the SagePay live system and it was configured for the Test system. When I set it for Live, then it indeed connects and I see the error in my SagePay transaction listing: “INVALID – 3058 : The CardHolder field is required.”

    I have temporarily set the CardHolder value to be Billing First Name, space, Billing Last Name and now it works fine.

    But why do I not have a CardHolder field in the form?

  • 0 Comments
  • Filed under: Uncategorized
  • Drupal Web Form Auto Responder

    http://drupal.org/node/323666

  • 0 Comments
  • Filed under: Uncategorized
  • Linux shell tutorial

    http://steve-parker.org/

  • 0 Comments
  • Filed under: Uncategorized
  • CSS Img Sprites

    http://www.websiteoptimization.com/speed/tweak/redesign/

  • 0 Comments
  • Filed under: Uncategorized