Manipulating Nested Paragraphs in Drupal 8 to implement Owl Carousel

Paragraphs are one of the powerful module in Drupal paradigm, it supports nesting feature and empowers developer with the most dynamic and flexible experience. I have used nested Paragraphs to build an Owl Carousel, where outer Paragraph is used as Carousel Container and the Inner Paragraph is used as Carousel Cards.

Referencing SendinBlue Subscription forms through Paragraph

SendinBlue is a third party newsletter subscription service that integrates with Drupal 8 CMS, Unfortunately there is no direct way of referencing any of the SendinBlue subscription forms as referenced entities in node or any other entity, this blog post will guide the developers to reference these type of forms through Paragraphs.

Understanding advance page template preprocessing

The main role of the page preprocessor is to set up custom variables to be rendered through the template (.tpl.php) files. Mostly the page preprocessing is used to handle theme template suggestions. This means that based on some custom logic we can suggest any page--*.tpl.php file instead of generic page.tpl.php but this is not the limit, most advance developers use these preprocessors to do heavy calculation of their logic and then pass the results to the page.tpl.php in form of some custom variable, this avenue has endless possiblities.

Migration Solution to Taxonomy Vocabulary Relate Module in Drupal 7

Taxonomy Vocabulary Relate was very helpful module in Drupal 6.x which allows us to select related terms in taxonomy from other vocaulary. Default taxonomy module in Drupal 6.x only allow us to select related terms from the same vocabulary. This post is going to help lots of developers who are planning to migrate their Drupal 6 website to Drupal 7 or who have migrated their projects and are awaiting solution to this issue.

Intranet of 90K+ developed on Drupal for a Fortune 20 company

I am glad to be part of a team who deployed Drupal as an Intranet platform for a Fortune 20 telecom company.  This is the first time that Drupal was used on an open surce LAMP stack to create a corporate Intranet for over 90,000 employees. The project was a complete rewrite of the existing intranet that had been in operation for over half a decade. It was accomplished in less than 12 months from conception to full deployment, ramping up from just a one member team to a 17 person group with only 5 full time developers

Optimizing/Caching Poll's Block

We all know that Poll is a core module which ships with Drupal. After installing this module we can setup poll and we can place a "most recent poll" block any where in region, usually its on a front page. I investigated this module and I found that it takes 20-25 queries to load most recent poll block and when a user submits a vote on that poll it does a cache_clear_all. Which was like WOW, in addition to submitting a vote users were also clearing my cached data. Optimizing or Caching poll's block for any kind of user (authenticated or anonymous) is like piece of cake, but figuring out how to do it was really a big pain in a neck.

Advanced Workflow Management

Advance Workflow Management will help workflow admin define single workflow with states adding a layer of groups at top of that; access control will be based on groups. This module will create a new tab "Workflow Groups" through which admins can create various roles as workflow groups, assign group role to the user (author/editor/publishers) along with the role that manipulate workflow.

Index additional information using node_api hook

I was going through one of my projects and I came to know that how simple it is to insert additional information into your site's search indexes using hook_nodeapi. A comprehensive details about hook_nodeapi can be found here.

Following are the steps involved to make this happen:

  • Create a module that implements hook_nodeapi, lets say example_nodeapi()

function example_nodeapi($node, $op) {
  // Function definition here
}

Subscribe to Drupal