Srilatha Marru's Blog
Hide authoring information on webform for Drupal 7

I am working on adding webforms to a microsite.  The form is added but is appended with authoring information like - Submitted by User on Sun, 03/30/2008 – 13:20.” at the top of the page.

To hide the display of this authoring information:

Goto Administration > Structure > Content Types > Webform and select edit > Goto display settings tab and un check ‘Display author and date information.’

And you can get rid of the author information on your Webform.

Srilatha Marru's Blog
Find which Ubuntu version the server is running?

To find out which ubuntu version your server is running, use the following commands:

Solution 1

cat /etc/issue

The file /etc/issue holds the version of Ubuntu installed on your system

Solution 2

lsb_release -a


cat /etc/lsb-release

Refered from:  Debian Admin

Srilatha Marru's Blog
Facebook Applications are marketing heaven but not a development cakewalk.

Facebook has more than 500 million active users. It is a good viral marketing for any company to advertise its products through Facebook.  50% of its active users log on to Facebook any given day.  Average user has 130 friends. People spend over 700 billion minutes per month on Facebook.  These big facts encourage any marketing company to mine the gold in the Biggest Social Networking Platform.

Facebook Applications and development Platform:

Facebook offers development platform that allows users to develop applications that interact and integrate with Facebook experience.  Every month, more than 70% of Facebook users engage with Platform applications. More than 550,000 active applications are currently on Facebook Platform. All this would give enough confidence to dive into Facebook application development.

So what else is the problem?

To keep up with race of the emerging social marketing and capture market, the social networks like Facebook, Twitter and Google are releasing half-baked development APIs, just to be forerunners. Facebook has several APIS to build the Facebook Applications.  Some APIS are deprecated and other not fully developed.  Facebook would tout about its API and release a fully blown documentation. Developer since has read through all documentation would promise himself and the client to get the application done.

When the time comes to implementation the developer would realize that the documentation is what Facebook wants to do with their API but has not completely implemented or tested it.  The bugs about the implementation are buried deep down in their Bugzilla account. And developers wait endlessly for the bugs to get fixed.   And developers break promises and workaround the solution to complete the project or download their latest API code and fully go though new changes and see if the new API supports the features.

Based on a recent first hand development experience, some examples of facebook app issues include:

  1. Facebook and its application have issues with Safari browser since Safari doesn’t support storing users cookies by default.  And the solution by Facebook is left to developer’s discretion.
  2. Facebook currently does not support adding apps to the users Wall tab.  It has been mentioned in the development API that this feature is deprecated in early 2010.  But the Facebook has not made any official announcement about disabling App Wall tab feature and the product guide still shows the old features. Disconnect between Marketing and Development team is clearly evident.  It is hard to blame just the Facebook because there is a problem at large in software development world where the products have to be oversold to sustain and generate revenue.

Past marketing failures:

Some examples from the past are Google wave. It was so hyped in its initial stages and on August 4, 2010, however, Google announced that the product would no longer be developed as a standalone product due to lack of interest. If any company or agency spent time and money to leverage on Google Wave they should have been at a loss.

Take away for end users and app developers:

The situation is like throwing noodles onto the wall to test if spaghetti is cooked. We are the walls of various app features. In this transition era, we cannot be left behind and cannot stop venturing into these buzzy but untested features. It is always encouraging to invest marketing and branding time in most popular marketing platforms to date.  The only solutions I can think of are to keep in mind that any emerging feature will have an associated risk. As a marketing development firm, we have to be adaptable and distinguish between offering well-known features versus popular untested features.  There is a need for shared responsibility of associated risks among and need for adaptability and flexibility on design features and products when working with and promising to deliver solutions based on emerging technologies. Even with these gotchas, social networking is paving ways for new marketing revolutions and we have to keep up with it.

Srilatha Marru's Blog
How to install gd library for apache without 404 errors

I tried to install gd library on our production server and used the following command:

apt-get install php5-gd

And the above command throw-ed lot of the 404 errors.   As mentioned in many forums I tried to modify my sources.list file located at /etc/apt/ folder.  But still many errors not resolved. So I replaced the file with a working file from one of our other servers.

This file worked for me like a charm. Just replace the content in your sources.list with the below content and run the below 2 commands:
apt-get update

apt-get install php5-gd

# deb cdrom:[Ubuntu-Server 8.10 _Intrepid Ibex_ - Release i386 (20081028.1)]/ intrepid main restricted

# deb cdrom:[Ubuntu-Server 8.10 _Intrepid Ibex_ - Release i386 (20081028.1)]/ intrepid main restricted
# See for how to upgrade to
# newer versions of the distribution.

deb jaunty main restricted
deb-src jaunty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb jaunty-updates main restricted
deb-src jaunty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb jaunty universe
deb-src jaunty universe
deb jaunty-updates universe
deb-src jaunty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb jaunty multiverse
deb-src jaunty multiverse
deb jaunty-updates multiverse
deb-src jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb intrepid-backports main restricted universe multiverse
# deb-src intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb intrepid partner
# deb-src intrepid partner

deb jaunty-security main restricted
deb-src jaunty-security main restricted
deb jaunty-security universe
deb-src jaunty-security universe
deb jaunty-security multiverse
deb-src jaunty-security multiverse

# deb hardy-backports main restricted universe multiverse
# deb-src hardy-backports main restricted universe multiverse
Srilatha Marru's Blog
Removing extra space around image in a table cell

Many a times, the image has space around it.

It’s to do with using a strict doctype, and the fact that the images are by default inline which display on top of the baseline. Quick fix for it is to apply declare the image as block.

Like img { display:block; }

Reference articles:

Article 1

Article 2


profileWeb Developer working in advertising agency.

Recent tweets

The Twitter REST API v1 is no longer active. Please migrate to API v1.1.