drupal

Create Menu permission system in Drupal

To archive Menu permission system in Drupal we need to follow two thing hook_menu hook_permission In hook_menu as ...

Pagination in drupal

We can use drupal's own Extenders pager to generate the pagination. PagerDefault is avaiable in drupal's core , no ...

How to get Values from dropdown type field in drupal

In drupal we can create fields through UI given by Drupal. Like we can create the list type field and also we can put ...

How to get Last inserted id in drupal 7

In drupal 7 the execute() statement gives the last insert id.Just look at the following example $myLastId = ...

How to create permission system for roles in drupal

Add this line to your moduleName.module file, After enabling your module, you can find an option to give access ...