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..
Archive for the ‘Web 2.0’ Category
Drupal- What is the difference between Page.tpl.php and Node.tpl.php in drupal?
October 4th, 2010
Garry Drupal- How to include a file in drupal template, theme like common Header, Footer
October 3rd, 2010
Garry 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
October 3rd, 2010
Garry 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
October 3rd, 2010
Garry 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
October 3rd, 2010
Garry 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
October 3rd, 2010
Garry 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
August 29th, 2010
Garry 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
August 21st, 2010
Garry 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
May 16th, 2010
Garry 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
December 31st, 2009
Garry 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
October 15th, 2009
Garry 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
October 11th, 2009
Garry 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
October 10th, 2009
Garry 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
October 10th, 2009
Garry 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
September 26th, 2009
Garry 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 [...]
RSS Feed
Twitter
Posted in
Tags: