Views

Views Attach

Description: 

Drupal において、Views モジュールはなくてはならないモジュールの一つです。Views はさまざまなデータをリストとして表示してくれます。

サイトを構築する上で、よほど簡単な「企業のパンフレット」的サイトでないかぎり、データのリストは避けては通れません。

しかし、Drupal と Views だけを使った場合、ある問題が浮上します。リストをノードにくっつけることが簡単にはできないのです。たとえば User Reference モジュール(CCK の一部)を使ってノードとユーザーを関連づけているとします。例として、部署というノードがあって、そこに所属するユーザーが関連づけられているとしましょう。Views で Argument を使って、ある部署に所属するユーザーのリストを作るところまでは成功しました。しかし、このリストを任意の部署ノードに貼り付けるのは、ちょっと難しいのです。Drupal のインターフェースからではたぶん無理で、テンプレートを改造する必要があります。そのためには PHP の知識が要ります。

»

Views Attach

Description: 

Drupal において、Views モジュールはなくてはならないモジュールの一つです。Views はさまざまなデータをリストとして表示してくれます。

サイトを構築する上で、よほど簡単な「企業のパンフレット」的サイトでないかぎり、データのリストは避けては通れません。

しかし、Drupal と Views だけを使った場合、ある問題が浮上します。リストをノードにくっつけることが簡単にはできないのです。たとえば User Reference モジュール(CCK の一部)を使ってノードとユーザーを関連づけているとします。例として、部署というノードがあって、そこに所属するユーザーが関連づけられているとしましょう。Views で Argument を使って、ある部署に所属するユーザーのリストを作るところまでは成功しました。しかし、このリストを任意の部署ノードに貼り付けるのは、ちょっと難しいのです。Drupal のインターフェースからではたぶん無理で、テンプレートを改造する必要があります。そのためには PHP の知識が要ります。

»

Quick Tabs

Description: 

さまざまなコンテンツをタブとして含むブロックを作成するモジュール。各タブのリンク先は、AJAX が有効の場合にはページロードなしに読み込まれる。

もともとは Drupal 7 コア向けに開発された機能を、Drupal 6 にバックポートした。

»

Views for developers

Presenter: 
Larry Garfield
Video: 
See video
Description: 

Views is an incredibly powerful module if you know how to use it. Views is also perhaps the most extensible system in all of Drupal, able to be extended in ways that make it the swiss army knife of data querying, marshalling, and formatting. But how do you extend it cleanly to bend it to your will?

This session will attempt to explain the over-arching design of the Views module, and how one goes about writing plugins and handlers. The goal will be to give attendees a sense of how Views is put together, and therefore how to extend it gracefully. Production code samples will be included.

Whether this session is based on Views 2 or Views 3 will depend on how production-ready Views 3 is by DrupalCon. If you want it based on Views 3, go help in the Views 3 issue queue!

»

Views Demystified - Part 2

Presenter: 
Doug Vann, Rain Breaw
Video: 
See video
Description: 

Doug Vann & Rain Breaw are teaming up to propose a two-session set on Views, which are intended to work together. These sessions will break Views down into the nuts and bolts. In both sessions, we'll actually *do* the configuration right in front of you, and show variations and even ways to break your setup!

Note that these are nitty-gritty sessions for beginners or anyone still fighting with views to get it to do exactly what you want. We will not (really) cover Arguments and Relationships or Theming, which will be covered in other already proposed sessions.

If you are new or newish to Views, however, please come to our sessions before going to the other sessions, or you will not get the most out of them!

Additionally, these sessions will build on each other. Views Demystified 2 will assume you have been exposed to everything covered in Views Demystified 1.

Views Demystified 2 will cover:

Feed and Attach Displays
Filtering by Current logged in user, Taxonomy Term, Date (very basic)
Sorting options: including Using Taxonomy and/or content type or other sorts to separate content on the page (field grouping) Nested Sorting
Working with Fields, including deeper look at excluded fields and rewriting outputs.
Basic Settings: Grouping Fields and Access Control
Arguments: Node ID, User ID, and Summary Display.

Views Demystified 2 is building on everything you learned in Views Demystified 1
Read about it here: http://sf2010.drupal.org/conference/sessions/views-demystified-1-part-2-...

You may also want to preview CCK and VIEWS presentations by Rain and DougVann at DrupalCamp Los Angeles 2009:

CCK: http://replay.nacs.uci.edu/public/summer2009/DxLA/dxla%20CCK%20intro%20-%20Web%20(1024x768)%20-%2020090809%2009.10.40AM.html
Views: http://replay.nacs.uci.edu/public/summer2009/DxLA/dxla%20-%20theming%20views%20-%20Web%20(1024x768)%20-%2020090809%2011.40.23AM.html

»

Views Demystified - Part 1

Presenter: 
Doug Vann, Rain Breaw
Video: 
See video
Description: 

Doug Vann & Rain Breaw are teaming up to propose a two-session set on Views, which are intended to work together. These sessions will break Views down into the nuts and bolts. In both sessions, we'll actually *do* the configuration right in front of you, and show variations and even ways to break your setup!

Note that these are nitty-gritty sessions for beginners or anyone still fighting with views to get it to do exactly what you want. We will not (really) cover Arguments and Relationships or Theming, which will be covered in other already proposed sessions.

If you are new or newish to Views, however, please come to our sessions before going to the other sessions, or you will not get the most out of them!

Additionally, these sessions will build on each other. Views Demystified 2 will assume you have been exposed to everything covered in Views Demystified 1.

Views Demystified 1 will cover:

* Overview of the Views UI (including cloning and creating a new View)
* Node view with Fields (other types to be covered in Views Demystified 2)
* Page and Block Displays
* Filtering by Node Type and Publishing Settings to get the content you want
* Most commonly needed sorting options, including Date, Title, Updated, Commented, Random and Sticky
* Working with Fields, including selecting the ones you want, organizing them, excluding fields and why you might do that, rewriting the output on fields to create basic "looks" for your page
* All basic settings options, including field styles and various display settings, excepting Grouping Fields and Access Control (which will be covered in Views Demystified 2) and Ajax and Theming (which will not be covered)
* Fields & the high level of control you have over your fields with just the UI
* A couple of simple add-on modules that can easily make views do fancy things that will make you look super cool.

Views Demystified 2 will then build on everything you learn in Views Demystified 1, and can be read about here:
http://sf2010.drupal.org/conference/sessions/views-demystified-1-2-2nd-s...

A similar presentation was given at DrupalCampLA 2009, and the video for that can be found here (as a preview):
http://replay.nacs.uci.edu/public/summer2009/DxLA/Views%20Demystified%20...

»
Syndicate content