Archive for the ‘Web 2.0’ Category

Drupal- What is the difference between Page.tpl.php and Node.tpl.php in drupal?

There is a very basic question which everyone asks that what is the basic differences between node.tpl.php and page.tpl.php? Page.tpl.php This template holds the wireframe of the webpage/website like- blocks, regions, header, footer, css, js files and most importantly “main content” etc..

Drupal- How to include a file in drupal template, theme like common Header, Footer

Here is how you can include a common header, footer in drupal- <?php include ($directory.”/includes/header.php”); ?> “$directory” is a variable automatically available in Drupal which holds the value of a path to your currently executed theme.

Drupal- How to add a drop down menu to your website using CSS SuckerFish Menu

A drop down menu can be easily added to you website using basic CSS. Here we will explain that how to add a drop down menu to your drupal theme using one of the best menu system available- SuckerFish Menu.

Drupal- How to place a “name” attribute anchor link in menu item

If you are trying to place a “name” attribute in menu hyperlink then this can be accomplished by declaring  a function in your template.php file as below-

Drupal- List of Top most useful Drupal Modules, add on modules

When I started with drupal I installed number of modules which can be helpful in achieving a particular task. I am just listing down the top most important modules which are required for a full fledged website development using CMS- Drupal- There are no download links provided for some of the modules but they can [...]

Drupal- How to disable “Submitted by” author, date in Content Pages, Content Types

This can be easily disabled in Themes Global Setting configuration found at- Go to Admin -> Themes -> “Configure” Tab -> Global Settings. You can find the settings in this section.

Javascript Lightweight News Ticker, Scroller CSS Based Customisable

There are many news headline scrollers, tickers available, but, this is a pure javascript lightweight news ticker/scroller for a website. Easy to use and 100% customizable using CSS. Following are the features you can look for in this ticker-

Jquery Scrolling News Ticker, Jquery Headlines Ticker Customizable

Jquery has become very popular script and first choice of many developers world wide. It is easy use, implement and shows a powerful play with few lines of code. Corporate websites always has a demand of displaying latest company news in website mostly on home page or header. This scrolling script can be easily modified [...]

Install PHPUnit On Wamp / Xamp Manually without Pear

All over the internet you can hundred of articles dealing with the installation of PHPUnit with Pear but rarely you will find any help for manual installation of PHPUnit with PHP or Wamp or XAMP on windows without installing Pear. There is no difference for the installation of PHPUnit if you have only PHP working [...]

Parse / Read RSS Feed using PHP

Reading any RSS feed using PHP is not a complex job. RSS feed is also a kind of XML with information defined in a pre-defined format. So the task is simple. We need to read the remote RSS file, parse the XML and display the content. Thats it!!! I have observed that programmers these days [...]

Jquery Tabbing, Create Tab using Jquery, Jquery Tabbing Made Easy

Jquery has really made life very easy for javascript programmers. Traditionally we used to create tabbing in a website page using javascript show /hide methods. But always used to stuck with browser compatibility bugs.

Jquery Lightbox Image Display with Previous Next Functionality Slideshow

I remember 3-4 years back we used to display a Large Image/ Data in a popup window. JavaScript Popup window (window.open function). Recent Web 2.0 application has changed the way we view images data on the website. We are talking about a Lighbox. Lightbox is nothing but a Div layer with zindex above the window [...]

mPDF- Script to create PDF from HTML using PHP on the Fly

In my previous post I have discussed creating a PDF file form HTML code using PHP on the fly through domPDF library. These kind of requirements generally come up when you creating accounting softwares and are required to send an online invoice, quote or any other confidential document to customer or any user through email. [...]

Jquery with PHP Crop Image and Save Image thumbnail on the Fly

Internet world is getting very cozy whilst internet web pages are evolving to more user friendly approach i.e. web2.0. Most of the social networking websites like dating sites, photo albums sites are providing ability to the user to crop their image/photo and save them on the fly. As a developer you must be wondering that [...]

Jquery Add New Text Fields Dynamically

We have already disucssed with examples the power of Jquery, whether it is Jquery with Ajax, image uploading, form validation etc. We can very easily add fields dynamically to our html code dynamically. This means a virtual HTML code is inserted into your HTML code. The basic fundamental is that we are just appending required [...]