GeorgeS's blog
Installing Drupal on local host
Submitted by GeorgeS on Tue, 06/09/2009 - 08:20
- Download the latest release from drupal.org
- Save the release to a directory on your harddrive
- unzip the download.
- download wampserver at www.wampserver.com to install Apache, MySQL, PHP on windows and install on your local machine.
- After you installed wampserver you should have an icon on your desktop.
- Ensure Wampserver is online
- goto phpmyadmin. Create a database
- drop the drupal directory into your www directory
- Goto Apache modules. make sure the rewrite modules is checked. to allow cleanr urls
- from explorer http:/localhost/drupal
- now install drupal
- insert the database name.
- Configure drupal and install.
Drupal iphone
Submitted by GeorgeS on Wed, 06/03/2009 - 12:57So, if you want an iPhone-enabled version of your Drupal website, all you have to do is install the http://drupal.org/project/iui iUI Drupal Theme, and then switch to the iUI theme when the user visits your mobile-enabled website. You could do that by either a small hack in settings.php, or one of the many modules out there that changes the theme based on the user agent or the domain.
Drupal PayPal
Submitted by GeorgeS on Wed, 06/03/2009 - 12:51A client of mine had an issue with PayPal checkout option not working correctly. Site with eCmmerce 5.x-3.3, This was working correctly before. The issue was when a customer were sent to PayPal.com they were not presented with an option to pay via credit card. They are forced to login or create a PayPal account. My guess is that the field "PayPal processing URL:" needs to be changed. Which it turn out to be pointing to an incorrect URL. The answer was to go to https://www.paypal.com/xclick/
Drupal Upgrading from Drupal 4.7.3 to Drupal 6.10
Submitted by GeorgeS on Wed, 06/03/2009 - 12:37- mysqldump the data from the old DB
- mysqldump the data from the old DB
- Mysql import the data to the new DB
- Install version 4.7.10 (No contrib module code).
- Execute update.ph
Drupal adding own css class in taxonomy terms links
Submitted by GeorgeS on Wed, 06/03/2009 - 12:32Hi want to add some own css class in taxonomy terms links (depending on vocabulary), and change links order (depending on
vocabularies too).
"How?" is the question!
- link_alter hook doesn't seem to be the right place because I don't find any param to add css class, and it doesn't play with
links order.
- it's possible to modify $terms html string in the preprocess_node function (in template.php), but it's doesn't sound like a
clean way...
Drupal Ubercart indexing
Submitted by GeorgeS on Wed, 06/03/2009 - 12:26If you ever have problems with Ubercart sites not being indexed for searching. Ensure you have access control modules installed and the node access table is rebuilt,