" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Theming blocks in Drupal CMS

Posted on November 24th, 2015 by MANISH KUMAR

Describes about how to theme different blocks in Drupal and override the default HTML designs and functionality to your own. Drupal provides different ways to theme all the blocks of a site at different levels. We can create our own custom html layouts for all the different blocks on a drupal site depending upon the […]

How to Create New Block Region in Drupal 7?

Posted on November 24th, 2015 by MANISH AGARWAL

Then following are the steps demonstrate how to create a new block region in Drupal 7. Step 1: Open up your theme’s .info file and add the following line: regions[new_region] = New Region Step 2: Now go to the your site url/admin/structure/block and select which block you want to show in your newly create region, […]

How to index a node at time of its creation/updation in Drupal7?

Posted on November 24th, 2015 by MANISH AGARWAL

Drupal would not indexing nodes at the time of its creation/updation. At the time of executing the cron script drupal indexing all the nodes those are yet not indexed. That is why if we want to search a node in site(at user end) just after its creation/updation we can’t get this node as the node […]

Configure SMTP For Localhost In Ubuntu

Posted on November 24th, 2015 by Ankit Agrawal

For setting up the SMTP server for personal use, very first thing we need to do is install the postfix on your Ubuntu and then we just need to configure the basic settings. Open the terminal and please type the following command to install the postfix on your system: sudo apt-get install postfix After entering […]

Scheduling Cron in Linux Envoirnment (System or Server)

Posted on November 24th, 2015 by Ankit Agrawal

Cron is a time based scheduler that executes commands at specified intervals. These commands are called “cron jobs”. Cron can be used for automatically creating backups, synchronizing files, scheduling updates, and much more. Cron is available on Unix, Linux and Mac servers. Windows servers use a “Scheduled Task” to execute commands. “crontab” is the command […]

Importance Of #attached Attribute In Drupal Forms API Reference, A New Feature In Drupal 7

Posted on November 24th, 2015 by MANISH KUMAR

While building a custom module for my last project in Drupal, I came across a cool feature introduced in Drupal 7, that is using #attached attribute in the a custom form you are creating. Usually we have been adding module/form specific js or css files using drupal_add_js() or drupal_add_css() somewhere in the module, but using […]

Drupal URL hack to access login page

Posted on November 23rd, 2015 by Premananda Das

While working a Drupal project I faced a situation in which I could not access the login page. But I needed admin access to proceed with my task, so I had to look for a work-around and found that the login page could be accessed my manipulating the URL and adding the username. www.mywebsite.com/user or […]

Theming in Drupal CMS.

Posted on November 23rd, 2015 by K. PRADEEP KUMAR

Here are 3 links for the tutorials which describes about theming in drupal. All the 3 explains more or less the same thing, but are different with their degree of comlexity in presentation and depth to their content. 1. http://tips.webdesign10.com/how-to-make-a-drupal-theme Here the author is first explaining about the files and functionality of an existing theme […]