Skip directly to content

Changing the hook execution sequence of form hook.

on Sat, 04/19/2014 - 07:19

 

Generally in drupal modules are executed in as per the weight in the specified by the system table. 

If two module has the same weight then modules are executed alphabetical order based on the name of module. 

 
During working on one of my project, I was working with workflow module. 

New version of workflow module adds Target State radio buttons on node form. I wanted to move these radio buttons to vertical tabs in node creation form. 

I created a module for the form_alter function. I named my module as my_module.module.

Error : Not Found in Drupal 8 and Ubuntu Saucy salamander 13.10

on Sat, 12/14/2013 - 15:34

Since last few months i am using windows as my developent environment. So i do all the drupal 8 testing and exploration in windows.es

Yesterday i was trying Ubuntu 13.10 and Drupal 8 development. I installed drupal 8 as per the regular scenario.

I followed the steps given below.

  1. checkout latest drupal 8 from drupal git repository
  2. created  database
  3. http://localhost/drupal8 
  4. entered db info for database
  5. database installed just fine and installation completed
  6. "Congradulations, you installed Drupal!"
  7. clicked on "Visit your new site"
  8. "Welcome to Drupal" ... "No front page..."
  9. click on "Add new content"

Let It Go (from "Frozen")

on Mon, 12/09/2013 - 16:27

Tags: 

Views: Displaying the subgroup of current group

on Wed, 10/09/2013 - 15:57

This article will create the simple view that will display the sugroups of current group.

I have written an article for creating the subgroup of groups: http://mohitaghera.drupalgardens.com/content/creating-subgroup-organic-groups

Actually i have used the default view provided by the organic group module, but have made a little tweak like changing the content type and etc..

You can directly import the view for the usign.

$view = new view();

$view->name = 'og_subgroups';

$view->description = 'Show all content (nodes) of a group.';

$view->tag = 'og';

$view->base_table =

Pages