Drupal Tutorials

15 Apr
Ví dụ Object-oriented page callbacks trong Drupal 7

Ví dụ Object-oriented page callbacks trong Drupal 7

In Drupal we use object-oriented page and form callbacks to ease our programmning burden This is a nice improvement that allows us to encapsulate the functionality of one or many page callbacks into objects

Read More
15 Apr
Thực hiện Targeted Drupal Cache Clears bằng Drush

Thực hiện Targeted Drupal Cache Clears bằng Drush

But clearing all of Drupal's caches at once can be overkill. You usually don't need to clear everything, and doing so can put heavy load on your servers (especially if your site is large or gets a lot of traffic).

Read more
15 Apr
Thủ thuật để tạo Custom Display Suite Field trong Drupal 7

Thủ thuật để tạo Custom Display Suite Field trong Drupal 7

A few months ago I posted about how to create a custom Panels pane, a critical reference for anyone who uses Panels layouts. The other part of the toolkit for quick and awesome layouts is the Display Suite

Read More
15 Apr
Hướng dẫn tạo Tracking Pixel với Drupal 7

Hướng dẫn tạo Tracking Pixel với Drupal 7

For a recent client project we need to track whether a user registering on the site had recently seen an ad promoting registration. If the user clicked on the ad and immediately

Read More
15 Apr
Hướng dẫn tạo riêng cho bạn 1 tokens trong Drupal 7

Hướng dẫn tạo riêng cho bạn 1 tokens trong Drupal 7

Tokens are a pretty powerful weapon to have in your arsenal, and they actually come in useful a lot if you remember that they're there.

Read more
15 Apr
Hướng dẫn thêm 1 pseudo field trong Drupal 7

Hướng dẫn thêm 1 pseudo field trong Drupal 7

Sometimes you need to display a field that have no input, like a static text or image on each node, or a Facebook like button, or whatever that does not have an input, but you still want to display it as a field, for that you have the hook hook_field_extra_fields.

Read more
12 Apr
Thử define 1 Roles trong the Drupal Community

Thử define 1 Roles trong the Drupal Community

On the whole, the feedback I’ve heard has been incredibly positive about the future of Drupal and the role of the Drupal Association in supporting that future. I’ve also heard criticism of the Association.

Read More
09 Apr
CasperJS

Hướng dẫn testing Drupal data migrations với CasperJS

On a recent project, the source data is anything but consistent, so while a manual review of one migrated item might look correct, any number of other items could have problems

Read more
05 Apr
Sử dụng Drupal 7 Form API để tạo conditions between form elements

Sử dụng Drupal 7 Form API để tạo conditions between form elements

The states are simple properties or HTML attributes of DOM elements. When creating your form elements using the Form API, you can apply various states to them depending on the states of others

Read More
05 Apr

Thực hiện permissions cho nodes và fields trong Drupal 7

Today, I will talk a bit about access control. Specifically, what options you as a module developer have for controlling access to nodes and individual fields. 

Read More
05 Apr
Drupal sub-themes và sub-sub-themes làm việc như thế nào?

Drupal sub-themes và sub-sub-themes làm việc như thế nào?

However, sometimes you need not just sub-themes, but you also sub-sub-themes. Sounds crazy? Well, sub-sub-themes are what you need to safely override some themes you download from Drupal.org.

Read More
05 Apr
Bài tập thực hành PSR-0 và PSR-4

Bài tập thực hành PSR-0 và PSR-4

The practical path forward wasn't clear and when I started asking around I found differing opinions.

Read more
31 Mar
Hướng dẫn sử dụng Entityqueue with Views trong Drupal 7

Hướng dẫn sử dụng Entityqueue with Views trong Drupal 7

First create your view like you normally would. The screenshots in this example, we are using a view of Content (aka Nodes), but this should be the same process for any entity type.

Read More
28 Mar
Top 10 lệnh Drush quan trọng trong Drupal

Top 10 lệnh Drush quan trọng trong Drupal

If you don’t use Drush, let me know what is holding you back. In the near future, I will cover the most common reasons that are preventing some people using Drush but more importantly how to get past them.

Read more
26 Mar
Is Drupal Entityforms a Good Alternative to Webform?

Sử dụng Drupal Entityforms tốt hơn Drupal Webform?

In the comments on that webinar, someone mentioned Entityforms as a better option than Webform and one that is more tightly integrated to Drupal.

Read More
26 Mar

Videos hướng dẫn sử dụng Linkit module và CKEditor trong Drupal 7

CKEditor will be the default editor in Drupal 8 and is currently the most popular editor in Drupal 7.

Read More

Các trang

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

 

Diet con trung

Bài bình luận gần đây