Alpha Pager for User_listing

In this tutorial, i will telll you how to add A-Z alphabetical searchable users with the help of views
This tutorial is just for drupal 6.x
The Steps for this tutorials are as follows :-

1. First, create a new page view and set your path to “directory”
Assuming you want your pager to be based on the nodes title, add in an argument: “Node: Title”
Set title equal to: “Directory: %1”
Action to take if argument is not present: “Display all values”
Check “Glossary Mode”
Set character limit to “1”
Case: “upper case”
Case in path: “lower case”
Save and update

Install Redmine on Ubuntu

Install redmine on ubuntu

sudo add-apt-repository ppa:ondrej/redmine

sudo apt-get update

sudo apt-get install redmine redmine-mysql

Then, create this for /etc/init/redmine.conf
Paste the following code in it .

# Redmine

description  "Redmine" 

start on runlevel [2345]
stop on runlevel [!2345]

expect daemon
exec ruby /usr/share/redmine/script/server webrick -e production -b -d

sudo service redmine start

Then Click Here
You can stop it via

sudo service redmine stop

Vi With tricks

All, i am using vi editor in ubuntu with some hidden tricks. Following is the trick to cut from one existing file and paste into a new file:
1. Open the file you want to cut from.
2. Press m a for marking text or it will start marking the text from current position.
3. Move down upto which you want to cut the text
and use " a d ' a where a for storing all marked text in buffer in a and d for deleting it.
4. Now create the file with :e and type there "a p where a is again stored buffer and p for putting values.

Escape from html via CSS

Hello Everyone!
I am currently working on drupal.
I have noticed that most of the developers like me is doing some stupid mistakes, we are using every html coding in body of drupal page, block, panel, webform any many other features by drupal. So if you are a real programmer then your working way should be like as follow.
1. If you are using an h1 and h2 heading tags, please don't save it as full html, save it as filtered html.
2. Then do its css in css file by using class, id. Or in following way

  h2 {
  font-size: 16px;


Subscribe to Davinder Kumar RSS