Skip to main content

Posts

Showing posts with the label Drupal

How to Install Modules in Drupal

1. download the package 2. move the tar.gz folder to to sites/all/modules folder {we need to create the module folder inside all } 3. untar it using tar -zxvf tarfilename.tar.gz 4. Go in administrator menu of DRupal -> Modules     enable all the modules you installed. And there you go ...Voilla ! :-D

Installing Drupal

1. Download drupal(latest stable version ) from drupal.org 2. unzip and transfer to website root , say     /var/www/drupal6.13/  - ubuntu                OR    /httpdocs/                       -centOS                      Or you can make a subdir inside these folders if you have more than more sites running on the server. 3. Then go to http://localhost/test/drupal-6.17/  OR       http://yourwebsiteURL.com/drupal-6.13 and simply follow the steps given and refer to INSTALL.txt file inside the drupal folder !      Some useful command and things you may require while configuring Drupal :        1. command to  check the Privilages any user has on databases             SHOW GRANTS; SHOW GRANTS FOR CURRENT_USER; SHOW GRANTS FOR CURRENT_USER(); ... 2. You may get this Error at some point of time when you install diff modules, so its suggested to increase the memory size as mentioned below.          Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate

Themeing

A "theme" is a collection of files that define the presentation layer or "look and feel" of a Drupal site. With a theme you can: * Define one or more page layouts. * Specify the display of images and other graphical elements * Specify the display of fixed or variable text * Specify the attributes of fonts and graphics * Override (change) the output from modules A theme can be configured to dynamically respond to changes in the content, content types, user input, user role etc. A theme can also be used to override (modify or replace) the text and variables that are generated by modules. For example, a theme can be used to replace the default label on the Search button or to hide and display certain fields that are part of a particular content type. You can also override the default CSS classes that might appear in your content. Often a theme is used simply to define the look and feel of an entire site, but it can also be used to cust