abhishek's blog

30
Aug
2010
abhishek

Integrating SMS Solution to Drupal Websites

SMS List Block

Reaching out to the targeted audience, is one of the goal for any business. here is a list of modules which will allow your website to interact with your audience

  • SMS Framework : Provides a extensible API that facilitates communication between Drupal and various SMS gateways.
    • SMS Actions : Provides an action for sending outgoing messages and the ability to define custom triggers for incoming messages.
    • SMS Blast : Allows bulk text messages to be sent to registered users.
  • SMS List : Manages Subscriptions, and send text messages when needed

SMS Gateways

24
Aug
2010
abhishek

Restore GRUB 2

In most of the systems GRUB is now upgraded to 2.0 and with this update the old restore process have also changed now there is no grub command :) available.

If you have lost the Bootloader after a routine reinstall or due to any other reason try the following to restore

Boot Using a Live CD and try the following as root

grub-setup -d /media/XXXXX/boot/grub -m /media/YYYYY/boot/grub/device.map /dev/sda

Where XXXXX represents the root partition and YYYYY represents the partition holding the /boot in case you dont have a seperate partition for /boot then XXXX and YYYY would be be the same. /dev/sda may change depending on the system you are using.

Please note this would erase the current bootloader and install a new one for you if you are unsure of what you are doing do not try this

10
Aug
2010
abhishek

The Rupee Mystery

RsThe Symbol for Indian currency was approved by the Union Cabinet on 15 July 2010.

This symbol was selected from among five shortlisted symbols and is designed by an Indian Institute of Technology (IIT) postgraduate D. Udaya Kumar and since this date the quest of displaying this symbol started. Font incorporating the new symbol was launched same day by Foradian Technologies and is available for free Download.

The next bigger question was How to Display the New Symbol Rs. Online, recently my friend Aman Jain & Meher Ranjan have come up with Web Rupee an API which can do this trick for you here is an howto for the same

How to Use WebRupee API ?

1) Add a stylesheet link in the head section of your webpage:

<link rel="stylesheet" type="text/css" href="http://webrupee.com/font">

2) Add the following code enclosing your "Rs."

<span class="WebRupee">Rs.</span> 200

OR

14
Apr
2010
abhishek

Drush & Dreamhost

Its been more than a year since i am using Dreamhost, The basic package is not too great but is cheap and the support is responsive.

Drush or the Drupal Shell is one of the most powerful tools to use when you are working with Drupal. DreamHost provides php5 but uses php4 as the default for the php command line and in that case drush wont work, so here is a 3 step guide to setup drush on your dreamhost account.

  1. Download & Extract Drush some where on your home folder
  2. Add the following lines to .bash_profile using your favorite editor.

    export PATH=/usr/local/php5/bin/:$PATH
    alias drush='/home/username/drush/drush'

    replace the path of drush as per your preferences :)
Syndicate content