Showing posts from October, 2012

Memcache API and Integration - Module

Integration between Drupal and Memcached with the following features:
An API for using Memcached and the PECL Memcache or Memcached libraries with Drupal.Memcache backends for the following systems (all drop-in):Caching ( ( ( module that provides a comprehensive administrative overview of Drupal's interaction with Memcached and stats.A set of tests that can be run to test your memcache setup.Read More....

Weight - Module

This module adds a weight option to enabled node types. Nodes with lower weight will float to the top of lists, while heavier items will sink. It uses the node table's 'sticky' column to store weights as well as sticky information (so that feature is not lost).
You might be interested in reading Comparison of Node Ordering Modules.
This is useful for sorting non-chronological nodes like bios, e-commerce products, or whatever you would like.
Nodes will be sorted first by stickiness, then by weight, then by creation date.


Nodes In Block

Nodes in block makes it possible to add nodes into a block. A number of configurable blocks are generated which you can assign to a region. Visibility settings of this block are automatically set to 'Show on only the listed pages'. On the node content form, you define the weight and visibility per node thus making it easier for content administration as all your content is now in the same place. With this module, you don't have to explain your customers how blocks work but is still able to decide on which pages content must be rendered.
If you set the visibility setting for the block as "Show on every page except the listed pages", multiple paths will not work correct because of the way that Drupal core block visibility works. You'll be better off choosing the default option.

Read More....

Display Suite - Module

Display Suite allows you to take full control over how your content is displayed using a drag and drop interface. Arrange your nodes, views, comments, user data etc. the way you want without having to work your way through dozens of template files. A predefined list of layouts (D7 only) is available for even more drag and drop fun!
By defining custom view modes (build modes in D6), you can define how one piece of content should be displayed in different places such as teaser lists, search results, the full node, views etc.

Read More....

Views Display Tabs - Module

Views Display Tabs exposes the displays of a view as tabs, making it possible to switch displays for a view using AJAX (though it degrades gracefully). This opens up the possibility to make a view even more useful as all overridable settings for a view can be stored in a display. This means that sorting, among many other settings a display can have, can now be exposed to the user through multiple displays with different settings.
New: Module doesn't require an AJAX-enabled browser and will work even with JS turned off, with the added advantage that search engine spiders will index the displays exposed through this module.
Examples of use Thanks to the configurability offered by a view's displays, Views Display Tabs opens up a lot of possibilities and can be used in many different ways. Here are some ideas:
A gallery page view that shows thumbnails or a simple list through separate displays using different style plugins.A sortable page view that has two displays, one w…

Git documentation

Git is the version control system developers use to share code with one another. Within this section of the site, you will find information on's use of Git, how to download, install, and configure Git, and how to contribute your own code to Here's a list of quick links to get you started, depending on your needs.

Git User’s Manual (for version 1.5.3 or newer) 

Understanding Git Conceptually Introduction to GitInstalling GitGetting started with Git on Git Git tutorialsTroubleshooting GitGit GUI toolsQuick Guides CVS & GitOther Git resources Read More...

Drupal Interview Questions - IV

1. What are systems requirements for drupal installation ?
- 3MB of disk space
- If you install many contributed modules and contributed themes, the actual disk space for your installation could easily be 40 MB or more (exclusive of database content, media, backups and other files).
Web Server
Drupal has been deployed successfully on both Apache and IIS.
Drupal is being developed to be web server independent, but we have limited or no reports of successful use on web servers not listed here.
Database server
Recommended: MySQL 4.1 or MySQL 5.0
PostgreSQL 7.4 or higher

2. What are the browser requirements for Drupal ?
Websites built using just Drupal core (i.e. with no additional, contributed modules) are compatible with, and fully functional, in all modern browsers that support CSS and JavaScript. However, browsers have varying levels of compliance with Internet standards such as CSS 2, so there may be minor variations in appearance.
Here is an incomplete list of browsers that ar…

Drupal Interview Questions - III

1. How To Define New Regions in Drupal
To add regions for Drupal 5.x
ADD this code in its entirety to the bottom of your template.php file:
/** Define the regions **/
function framework_regions() {
return array(
‘left’ => t(‘left sidebar’),
‘right’ => t(‘right sidebar’),
‘content’ => t(‘content’),
‘header’ => t(‘header’),
‘footer’ => t(‘footer’),
‘newregion’ => t(‘new region’),
Replace “newregion” with what you would like to call that region instead. Note that the name on the left before the = is the machine readable format, and cannot have spaces. the name after the = is the human readable format, and can have spaces, capital letters etc. You may add as many regions as you like in the same manner that “newregion” has been added in the example above.
Then, in your page.tpl.php file, define where you would like you regions to be using a print call like so:
You need to replace “newregion” with what you named your region. The id, class and any other html can b…

Drupal Interview Questions - II

1. Explain the menu system in Drupal ? Purpose of menus ?
Define the navigation menus, and route page requests to code based on URLs.
The Drupal menu system drives both the navigation system from a user perspective and the callback system that Drupal uses to respond to URLs passed from the browser. For this reason, a good understanding of the menu system is fundamental to the creation of complex modules.
Drupal’s menu system follows a simple hierarchy defined by paths. Implementations of hook_menu() define menu items and assign them to paths (which should be unique). The menu system aggregates these items and determines the menu hierarchy from the paths. For example, if the paths defined were a, a/b, e, a/b/c/d, f/g, and a/b/h, the menu system would form the structure:
Note that the number of elements in the path does not necessarily determine the depth of the menu item in the tree.
When responding to a page request, the menu system looks to see if th…

Drupal Interview Questions - I

1. What is CMS?
A content management system (CMS) is a collection of procedures used to manage work flow in a collaborative environment. These procedures can be manual or computer-based. The procedures are designed to:
* Allow for a large number of people to contribute to and share stored data
* Control access to data, based on user roles. User roles define what information each user can view or edit
* Aid in easy storage and retrieval of data
* Reduce repetitive duplicate input
* Improve the ease of report writing
* Improve communication between users
In a CMS, data can be defined as almost anything – documents, movies, pictures, phone numbers, scientific data, etc. CMSs are frequently used for storing, controlling, revising, semantically enriching, and publishing documentation. Content that is controlled is industry-specific. For example, entertainment content differs from the design documents for a fighter jet. There are various terms for systems (related processes) that do…

A List of the Best Drupal SEO & Social Media Modules

There are many lists for the best Drupal SEO modules if you search Google. However, many of these lists do not cover modules that are used for increasing internal page relevance, strength, and even user-generated actions. In the list below I'll describe a few Drupal SEO modules that we've used that will not only enhance your site for search engines but for your valued users. We've also included a great list of social media modules to spice up your Drupal website. Enjoy!
The Most Common Drupal SEO ModulesPage Title Module - The page title is the one found in the HTML head inside the <title> tag. It is also used on SERPs (Search Engine Result Pages) and can greatly enhance your websites SEO. This is perhaps the most under-utilized aspect to web page creation, as the creator does not add valuable keywords to the <title> tag.Nodewords - This SEO modules allows you to add meta tags to Drupal pages, both manually and automatically based o…

jQuery - jQuery()

Contents:jQuery( selector [ , context ]  ) jQuery( selector [, context] ) jQuery( element ) jQuery( object ) jQuery( elementArray ) jQuery( jQuery object ) jQuery() jQuery( html [ , ownerDocument ]  ) jQuery( html [, ownerDocument] ) jQuery( html, props ) jQuery( callback  ) jQuery( callback ) Description: Accepts a string containing a CSS selector which is then used to match a set of elements.

Read More....

jQuery - .attr()

attr( attributeName  ) .attr( attributeName ) attr( attributeName , value  ) .attr( attributeName, value ) .attr( map ) .attr( attributeName, function(index, attr) ) 
Read More

Form API Validation - Module

This module drastically increase the validation power of Drupal Form API (FAPI).
You can use the existent filters and rules or create your own. Is up to you.
Why not Validation API ? The Validation API module is focused on Drupal end users and not module developers. There is no documentation so I guess that you can only set validations on admin interface.
So FAPI Validation come to give you, developer, more facility on your development process.
If you have any consideration to do, fill free for it at #637598: Merge with validation API?
Modules using FAPI ValidationClientside Validation Available RulesRuleUsageDescriptionnumericnumericMust contains only numbers.lengthlength[<total>]
length[<min>, <max>]
charschars[<char 1>, <char 2>, ..., <char N>]Accept only specified characters.emailemailValid emailurlurl
url[absolute]Valid URL. If absolute parameter is specified, the field value must have to be a full URL.ipv4ipv4Valid IPv4alpha_numericalpha_num…

Drupal 7 Documentation

Hosting note To install and run Drupal your web host must meet certain minimum requirements. Most web hosts meet these requirements. However, a few stand out by also supporting the Drupal community. If you need a host, consider selecting one of our reviewed web hosts.
Introduction to installation Drupal provides an installation script that automatically populates database tables and configures the correct settings in the settings.php file. This section covers preparing for installation, running the installation script itself, and the steps that should be done after running the installation script has completed. It also explains how to do a "multi site" installation, where a number of different Drupal sites run off the same code base.
Before proceeding with your first Drupal installation, you should also review the best practices section. For help with Drupal terms, see the glossary page.
Other tools Some of the steps in the installation process can be performed with …