Translating views strings programmatically in Drupal 8

Posted on Wednesday, September 20, 2017

In Drupal 8 strings can be translated with .po files or translation interface provided by the locale module. But views strings like sort options, header, footer or any other string can only be translated through configuration translation and can be enabled by enabling "Configuration Translation" module.

Now each view will have a "Translate View" tab on edit view page, through which translations can be added for each language.

Create related content block view based on terms in Drupal 7

Posted on Monday, December 9, 2013
Mostly in blogging site we need to create block view with related content list based on taxonomy terms associated to current node. It sounds complex but there are few simple step which we can take to create this block. Instead example of related content block you can see is on the right side of this blog page titled "Related Content", if its not showing that means there is no content matching with term of this blog node.

Adding “Unblock the user” option in Views Bulk Operations field

Posted on Wednesday, December 4, 2013
Views Bulk Operations (VBO) module in Drupal development allows developers to add 'bulk operation' option in views. With this bulk operation option, users can select multiple items and perform actions on them, such as 'delete item', 'publish content' and 'unpublish content'.