Hướng dẫn sử dụng Display Suite and Views trong Drupal

Hướng dẫn sử dụng Display Suite and Views trong Drupal

Display Suite is one of our very favorite Drupal modules.

We love how easy it is for even new Drupal users to control their content layouts with Display Suite.

In this tutorial, we'll show you how you can use Display Suite together with Views. This allows you to create complex pages, controlling both the output and layout, without knowing any code.

  • Go to Structure > Content types and click Manage Display next to a content type.
  • Unless you change it, you're going to be redesigning the "Default" view mode for this content type.

media_1386614981920.png

  • You'll see the Display Suite options at the bottom of this screen.

media_1386614119733.png

  • Choose the Select a layout option. In this example, I choose Two column.

media_1386614143932.png

  • Click Save.
  • The fields can now be placed into Left and Right regions to reflect the two column layout:

media_1386614450017.png

  • Click Save to complete the Display Suite changes.
  • Go to Structure > Views and edit the view that you want to use with Display Suite.
  • In the Format area, click the Show area, as shown below (note that Display Suite doesn't work with all Views formats)

Hướng dẫn sử dụng Display Suite and Views trong Drupal

  • Choose Display Suite as an option
  • Click Apply (all displays)

media_1386614259728.png

  • Choose the options you want for Display Suite. The most important setting is the view mode - make sure you select the same one as did at the start of the tutorial.

media_1386614295059.png

  • Click Apply (all displays)
  • You should now see that your two column layout has been applied to your view:

media_1386614486586.png

Bạn thấy bài viết này như thế nào?: 
Average: 5 (1 vote)
Ả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

 

Các ứng dụng của Android có thể bị tin tặc lợi dụng

Rất nhiều ứng dụng Android phổ biến trên Google Play tồn tại một lỗ hổng bảo mật khiến cho tin tặc có thể lợi dụng để đánh cắp thông tin quan trọng của người dùng.

7 chiến lược bán hàng trực tuyến hiệu quả nhất

7 chiến lược bán hàng trực tuyến hiệu quả nhất

Không có một bí quyết nào về việc đẩy mạnh doanh số bán hàng qua Internet. Bạn thu hút sự chú ý của đông đảo mọi người và gia tăng các khách hàng tiềm năng. Khi đó, bạn gắn kết với họ và chuyển những mối quan tâm của họ thành các giao dịch mua sắm.

SEO

Những yếu tố xếp hạng sẽ giảm ‘trọng lượng’ trong năm 2012

Có lẽ năm vừa qua SEO đã có 1 chuyển biến khá lớn khi bắt đầu chiến dịch Panda và các mirror mở rộng tầm ảnh hưởng. Trong đó các yếu tố SEO có những thay đổi và Google dần trở nên thông minh hơn khi thay đổi độ mạnh và yếu của các yếu tố này. Đặc biệt những yếu tố sau đây nó đã dần mất ưu thế và tất nhiên bạn cũng nên xem lại những yếu tố này để không phải quá chú trọng vào nó:

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

 

Diet con trung