Skip to Content

Blogs

Exit function shortcut on any function key(F10,F11,F12) Emacs

Add this code in your .emacs file

;; add exit( ) to php code
(fset 'add-exit
[?\C-e return tab ?e ?x ?i ?t ?\; ?\C-x ?\C-s])

print_r("") function shortcut on any function key(F10,F11,F12) Emacs

 

Add this code in your .emacs file

;; add print_r( ) to php code
(fset 'add-printr
[?\M-w ?\C-s ?\; ?\C-m return tab ?p ?r ?i ?n ?t ?_ ?r ?( ?\S- ?) ?\; left left left ?\C-y ? right right right ?\C-x ?\C-s])
;; set key for above macro
(global-set-key [f10] 'add-printr)

Installing Drupal and CiviCRM with tarball

Hi We will see today how to install Drupal and CiviCRM : 1. Installing Drupal - a. Create the database using phpmyadmin ( give access for everything ) b. Download the Drupal tar / zip file from drupal.org c. Extract the same in the htdocs (windows) or public_html(linux) folder. d. Rename the extracted folder to desired name like demo e. In the demo folder go to directory demo/sites/default folder and create copy of default.settings.php to settings.php f. Once this is done.

Tags: 

Drupal 7 Theming Basics with the help of Lullabots

The Theming in Drupal 7 is almost similar to Drupal 6 with Some of the modifications in the file structures of theme and few other changes.
Tags: 

Pages

Subscribe to RSS - blogs