GeorgeS's blog

Installing Drupal on local host

 

  1.  Download the latest release from drupal.org
  2. Save the release to a directory on your harddrive
  3. unzip the download.
  4. download wampserver at www.wampserver.com to install Apache, MySQL, PHP on windows and install on your local machine.
  5. After you installed wampserver you should have an icon on your desktop.
  6. Ensure Wampserver is online
  7. goto phpmyadmin. Create a database
  8. drop the drupal directory into your www directory
  9. Goto Apache modules. make sure the rewrite modules is checked. to allow cleanr urls
  10. from explorer http:/localhost/drupal
  11. now install drupal
  12. insert the database name. 
  13. Configure drupal and install.

 

Drupal iphone

 So, 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

A 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

  • 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

Hi 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

If 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,

 

Syndicate content