Free Sample
+ Collection

Drupal 6 Attachment Views

J. Ayen Green

Use multiple-display views to add functionality and value to your site!
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849510806
Paperback300 pages

About This Book

  • Quickly learn about painlessly increasing the functionality of your Drupal 6 web site
  • Get more from your Views than you thought possible
  • Topics provide rapid instruction and results
  • Concise, targeted information rather than voluminous reference material
  • An informal, interactive style

Who This Book Is For

If you are a Drupal developer of any level and you are waiting to explore Attachment Views, then this book is for you.

Table of Contents

Chapter 1: Something Old, Something New
Content management systems
Creating a taxonomy vocabulary
Chapter 2: Attachment Views A New Beginning
What is an Attachment view?
Reviewing the view requirements
Activity 2-1 Subcontractor page view
Activity 2-2 Subcontractor Attachment view
Theming the subcontractor view
Chapter 3: Interactive Page Regions
Activity 3-1 Configuring the contact subsystem
Activity 3-2 Creating the contact-us view
Activity 3-3 The Guild Builders module
Activity 3-4 Adding CAPTCHA to the Contact form
Adding a Contact info Attachment view
Activity 3-5 Creating the contact-us Attachment view
Chapter 4: Additional Displays
Activity 4-1 Creating the Subs Page display
Activity 4-2 Creating the Subs Attachment display
Activity 4-3 Creating the Jobs block
Activity 4-4 Creating the Management Page display
Chapter 5: Bios
Activity 5-1 Creating the Bio view
Activity 5-2 Creating the Page
Activity 5-3 Creating the Bio Attachment display
Activity 5-4 Creating the Prior Jobs Attachment display
Activity 5-5 Theming the Bio view
Chapter 6: Prior Work
Activity 6-1 Creating the job selection display
Activity 6-2 Creating the prior-work Page display
Activity 6-3 Creating the prior-work Bio Attachment display
Activity 6-4 Creating the Job Attachment display
Activity 6-5 Theming the prior-work view
Chapter 7: A Different 'About Us'
Activity 7-1 Creating the About Us view
Activity 7-2 Creating the Bio Page display
Activity 7-3 Creating the prior-work display
Activity 7-4 Creating the About Us Page display
Activity 7-5 Creating the Bio Attachment display
Activity 7-6 Creating the prior-work Attachment display
Chapter 8: Control Panel
Activity 8-1 Creating the Control Panel view
Activity 8-2 Creating the Page display
Activity 8-3 Creating the Attachment displays
Activity 8-4 Creating the other Attachment displays
Activity 8-5 Configuring the Page display
Activity 8-6 Theming the Attachment displays
Chapter 9: Front (Home) Page
Activity 9-1 Making a role-specific menu
Activity 9-2 Creating a peekaboo login box
Activity 9-3 Adding a Theme region
Activity 9-4 Creating a News block
Activity 9-5 Creating an RSS Feed
Chapter 10: Punch List
Administrative Theme
Clean URLs
Error reporting
File system
Input formats
Logging and alerts
Search settings
User management

What You Will Learn

  • Provide more functionality to your site visitors without a technology change
  • Create composite displays to increase and vary the information you can provide
  • Enable dynamic displays using multiple content types, so that related content can be displayed simultaneously
  • Develop views with record menus
  • Create static and interactive displays, to provide additional information to the user

In Detail

The Drupal View modules give you the flexibility and freedom to customize the display of your web site's content. Defining custom content types is easy; however, it's also possible to use various content types in a complementary manner on the same page! Attachment displays in Views (also known as Attachment Views), are a way to customize your web site with multiple displays that interact with each other and turn a nice site into a spectacular one.

This hands-on tutorial will teach Drupal developers across the experience spectrum how to use Attachment displays in Views, to make quick progress in functionality and added-value to users! Views are a common way to display a collection of similar content types on one page. What do you do if you want to display different content types simultaneously? What if you want to allow a user to interactively select which content they want, without using a menu? You can actually have more than one display within a view and views within a view.

This book starts by introducing Attachment Views as reader activities. Here, we create a single Attachment View and take a closer look at giving each page an interactive feel. It also shows you to create a View with an Attachment View. Later, using practical examples, it helps you to develop a 3-view composite display using two and three custom content types. You will also be able to develop a composite display using multiple Attachment Views, to provide a control panel of sorts from which you can view the various content types. Finally, we will put the home page together making use of Views, blocks, a flash slide show, and other pieces.

This book provides several examples of introducing additional displays onto a web page, and having them interact with each other. The result is pages that provide several types of information and behave more like a desktop application, increasing the value to your site visitors.


Read More