Blogz

Recent Blogz

Revisions in Drupal 8.

Revisions in Drupal 8 comes as a part of core. Every time when you edit or create a content in Drupal 8 you will be provided with an option to create a of that content or page. This is helpful for the process of revert back to the older content.

CMI in Drupal 8 - Configuration Management Initiative

Configuration Management Initiative (CMI) in drupal seperates “content” from "configurations". It uses yml files to store the configuration datas And it provides way for deploying configurations over the sites which includes development, staging and production. Configuration Management Initiative (CMI) comes in drupal 8 as a part of core. In short Configuration Management Initiative (CMI) in Drupal 8 solved a many big issues that a drupal 7 developer experiences. In a fresh Drupal 8 instance navigate to..

Storage in Ionic 2

Storage in ionic 2 can be used to store data key/value pairs. We can also store JSON Objects. This Storage can work using may storage engines, here it will choose the best based on the platform. If the application runs in native platfrom it will use SQLite where as if it is in browser it use IndexedDB. Follow the steps to use Storage,

Drupal 7: Creating custom Permissions hook_permission() with Example

Permissions control access in Drupal system. We can able to specify the permissions based on User Roles. We can programmatically able to create custom permissions by implementing the hook_permission in Drupal 7. The below is the syntax and example of how to use custom permissions. Once permissions are defined the need to clear cache. So, that permission available on admin/people/permissions page.

Drupal 7: Creating custom pages, forms using hook_menu()

The hook_menu() is the menu router for the Drupal system. In this hook we can able to specify the possible URL paths to our Drupal system. This function implementation must return the associative array of URL paths and their respective callbacks. The below is the syntax and usage example of this hook. Once you have implemented hook needs to flush the cache to detect system.