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

 
Hosting

Doanh nghiệp www.hostinger.vn - hỗ trợ miễn phí hosting

Tìm một free host tốc độ cao và dịch vụ tốt chắc hẳn luôn luôn là một vấn đề khó. Tuy nhiên, vừa qua, seoweb24h được biết một nhà cung cấp host miễn phí khá nổi tiếng hostinger vừa cho ra mắt phiên bản tiếng Việt, và hỗ trợ người dùng tại Việt Nam.

Khái niệm mới Decoupling Drupal (decoupled CMS)

Khái niệm mới Decoupling Drupal (decoupled CMS)

Drupal 8 will make huge strides in this area, but alas it's not out yet. Fortunately the answer to the second problem is the first; it is entirely possible to build a solid, scalable, performant RESTful web service with Drupal 7

Làm thế nào để quảng cáo hiệu quả?

Làm thế nào để quảng cáo hiệu quả?

Những chiến lược quảng cáo truyền thống đã từng hiệu quả từ 20, 10 hoặc thậm chí chỉ 5 năm gần đây có thể không còn được áp dụng trên thị trường hiện nay.

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

 

Diet con trung