Giới thiệu Extended block visibility Module

Giới thiệu Extended block visibility Module

Giới thiệu Extended block visibility Module

As a purely Drupal development agency, we are always looking for ways to improve our experience with Drupal.

One of the most common scenarios we experience is getting developers to keep track of block settings during deployment.

On all but the most basic of sites there can be hundreds of blocks, and when a team of developers are working together on a big project some of these changes can be forgotten or overlooked.

Issues vary from an 'oops!' because a bit of content dissapeared for a moment, to problematic when a block's PHP visibility snippet has been copied incorrectly or missed, resulting in a WSOD and a hasty database roll-back. (At least it's only on staging!)

In keeping with the Drupal community spirit, our solution comes in the form of a contrib module which everyone can benefit from:

Introducing Extended block visibility

Extended block visibility pulls Drupal's block settings out of your database and plants them firmly in your custom module.

Each block is allocated a list of candidate functions, any of which can be used to determine whether or not the block should be shown.

This means we can edit block visibility settings in our editor of choice (rather than inline on the site) and we can keep track of it all in git, which makes for really easy deployments.

You can download Extended block visibility from Drupal.org. Alternatively, please get in touch if you would like Drupal training or developer support.

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Export và import Drupal 7 nodes như thế nào ?

Export và import Drupal 7 nodes như thế nào ?

There are lots of ways to export configuration from one Drupal site and import into another; however, there are few ways to do the same with content. Here's a quick tip which has worked well for me.

Nguyên nhân và cách khắc phục tình trạng google penalty

Nguyên nhân và cách khắc phục tình trạng google penalty

Trong thời gian gần đây, Giaiphaplienket.com có nhận được một số câu hỏi về Google Penalty.

The investment case for employing a Drupal core contributor

Một số cách để đầu tư, đóng góp cho Drupal 8 core

I asked my team at Acquia to start tracking the impact of the Drupal core contributors on sales. Below, I'll share some data of how Acquia tracked this and why I'm bullish on there being a business case.

Công ty diệt chuột T&C

 

Diet con trung