Tel: 91-95381-71000 | Mail: inderweb.com@gmail.com


inder's blog

Drupal theme module customizations links and tutorials guide

We have a very wide community of Drupal6 users,contributors and still growing.Here are few quick drupal links for intermidiate,begineeres,and also for advanced drupal coders.

http://drupal.org/getting-started

Downloading and extracting themes using shell or putty in linux

You can directly download themes from your ssh or putty.

1) Go to themes directory of your drupal installation. E.g:-
cd sites/all/themes

2). Download archive using wget command:
wget http://ftp.drupal.org/files/projects/acquia_marina-6.x-2.0.tar.gz

3). Uncompress archive:
tar zxvf acquia_marina-6.x-2.0.tar.gz

4). Delete/Remove archive:
rm -rf acquia_marina-6.x-2.0.tar.gz
5)Confirm your theme is there:-
ls -a
Also check and enable it from:- admin/build/themes

Enabling / downloading modules and themes using shell or putty in linux

You can directly download module or theme from your ssh or putty.

1) Go to modules directory of your drupal installation. E.g:-
cd sites/all/modules

2). Download archive using wget command:
wget http://ftp.drupal.org/files/projects/image-6.x-1.0-beta5.tar.gz

3). Uncompress archive:
tar zxvf image-6.x-1.0-beta5.tar.gz

4). Delete/Remove archive:
rm -rf image-6.x-1.0-beta5.tar.gz
5)Confirm your module is there:-
ls -a

Note: the module image-6.x-1.0-beta5.tar.gz is taken here as example please check the current

x_type AUTH_CAPTURE,AUTH_ONLY authorizenet

AUTH_CAPTURE
Transactions of this type will be sent for authorization. The transaction will be automatically picked up for settlement if approved. This is the default transaction type in the gateway. If no type is indicated when submitting transactions to the gateway, the gateway will assume that the transaction is of the type AUTH_CAPTURE.

Paypal Developer API NVP API Web Samples Using PHP

NVP API Web Samples Using PHP

VERSION 5.1

This document describes web samples that use PHP to send Name-Value Pair (NVP) API requests to a PayPal server.

This document contains the following sections:

Model-view-controller (MVC) architecture is optional / MVC in Drupal

Model-view-controller (MVC) architecture is optional in Drupal. MVC is accomplished by generating data in modules then theming the data in your theme.

Some modules format the data before output, which is not MVC.

Some modules format the output and provide documentation in how to reformat the data in your theme, which is MVO, Model-view-optional.

Create And Extract tar Archive from SSH Linux Drupal

Script and steps can be  used for BUllk Database and directory transfer from one host to another. NOrmaly used for Site transfer.

Create Directory Archive:

CReate archive of current directory to sitesbk.tar file:

$tar cvf /home/indersingh/public_html/sitesbk.tar .

Extract Tar file to directory: