Skip to main content

Posts

Showing posts from September, 2012

Creating New Product in Drupal Commerce

Drupal Commerce Kickstart is an all-in-one profile for setting up shopping website or e-shop. Drupal Commerce is built according to the Drupal way. Drupal Commerce is modular and extendable, is based on entities and fields, uses views and taxonomy extensively, and simplifies administrative pages with intuitive menus to ease shop owners. However, before you can start with Drupal commerce you must first be proficient with the Drupal way. You will not be able to administer your shop if you do not know how Drupal works. You need to get yourself up and running with those Drupal thingy such as entity, field, node, views, taxonomy, menu, module, etc. On top of all that, please take note that Dupal Commerce documentation is very much a work in progress. Terminology in Drupal can be very confusing. Drupal Commerce adds to the confusion further. You could not have any other way but to learn the actual meaning of all the terms. Never assume anything. Let's start with the  product  term

Drupal Clean URL with GoDaddy

GoDaddy shared hosting allows multiple domains hosting where each domain can be hosted within its own folder in the document root. I install Drupal in a separate folder for each domain, even for the main domain. GoDaddy supports URL redirect and each domain can be redirected to its on folder. However, Drupal may get confused with the RewriteBase for clean URL rewriting. Drupal handles URL rewriting for clean URL automatically. In fact, Drupal will try to enable it by default. On the other hand, there is no issue with GoDaddy regarding the Drupal URL rewriting. However, Drupal need to know the RewriteBase when a domain is NOT pointing to the document root folder. The RewriteBase is not necessarily the Drupal installation folder. This can be tricky because GoDaddy URL redirect may be set in two places. In GoDaddy a domain can be redirected to a folder, even for the main domain. A http://xyz.com can be redirected to http://xyz.com/xyz which is my preferred configuration. The /xyz i