Skip to main content

Drupal planet

onfirmation emails from simplenews

Make confirmation emails from simplenews obey newsletter settings

Simplenews is one of the solid Newsletter management modules for Drupal. It allows a Drupal site to have multiple newsletters at once, nodes can be sent out as newsletter to multiple recipients on a single cron run. It plays well with HTML emails as well with Editors like WYSIWYG, Drupal mail system and other contrib modules like Mime Mail. Besides these, it allows to have specific sender name and email address per newsletter.

Custom drush command

Creating a custom drush command

No Drupal Developer needs introduction about Drush. The power and features of Drush has made the job easier for many developers. Drush by default has a list of commands that we can make use of, the entire list can be seen here. But apart from that, the Drush does has the feature to allow custom commands. 
These custom commands can be used as per our need and scenarios. In my case, I had the need to list the users in site using a Drush command.
bootstrap  form tabs

Creating horizontal form tabs in Drupal 7

Creating Vertical tabs in Drupal 7 forms is an easy task, but to accommodate the design needs we at times have to use different style. For instance, horizontal tab might be needed. The same makes more sense for shopping cart check out like pages. And here the need for looking solutions outside the Drupal core arises as horizontal tabs are not readily available in core.

drupal login

How to login as any user in Drupal site?

It is no surprise that production sites at times may work differently from dev / stage due to various factors. And in such circumstances, there is a need to login as real site user to be able to reproduce the issue. Of course it is not easy to fix a bug unless it is really reproduced by developer.

In one of my recent works, I found a simple trick using Drush to get access to real user account without distrubing his/her account credentials like login name, email, password, or similar.

quiz porting

Porting Quiz module for Drupal 8

It would be more than surprising to know if any Drupal developer hasn't had interest to get his hand dirty with Drupal 8 yet! It is quite known that Drupal embraces new notion in every major releases, the same excitement goes with Drupal 8 as well. To name a few better configuration management, RESTful Web Services (based on Symfony), Twig framework for theming, HTML 5, Views in core, and Mobile friendly are some the major features introduced in Drupal 8. To know more about its development cycle and current state, check out

wysiwyg editor

Alter WYSIWYG's form height

Once the installation of a Drupal instance is done, I guess almost 90% of the developers would first download "What You See Is What You Get".  Inline formatting, Text format options, Hyperlinks, Media and iframe support all these makes WYSIWYG a heaven to opt first after installation. No developer would have the heart to say any shortcoming in this feature rich but yet simple module, I am no exception to this too !

Subscribe to Drupal planet