Drupal Training#2 Cck Views

Embed Size (px)

Citation preview

How to Learn Drupal

Books search Safari and/or Amazon in the past year 10+ books written on Drupal

Blogs search Google, subscribe to Drupal Planet http://drupal.org/planet

Drupal documentation good and getting better http://drupal.org/handbooks

Hands on experience freelance and contract jobs

From each other https://island.byu.edu/group/drupal

Job Posting Board

Custom input forms for post jobs and applying for jobs.

Displays lists of jobs in a variety of ways including on the page and through RSS.

Let job applicants upload resumes, pictures, etc. when applying for their job.

Demo finished site

Enable CCK modules

Content

FileField

Node Reference

Number

Option Widgets

Text

User Reference

Create Job Content Type

Two StepsCreate new content type (Job)

Add fields to the Job content type

Fields to add or Modify for Job

Job Title (the normal node title)

Description (the normal node body)

Department (a text select field)

Contact (a user reference field)

Salary (an integer field)

Set permissons for new content type

Who can create jobs?

Who can edit jobs?

Create Job Application Type

Fields to add:Title (the normal node title)

Introductory message (the normal node body)

Job (node reference field)

Rsum (file field)

Intro to Views

Fancy maker of listsOf users

Of comments

Of nodes

And lots of other stuff

No code to list content

Same view displayed different places on the site

Use Views and love it

More technical way of describing it

Visual SQL builder

Basic conceptsFilter

Then select fields

Then select sort method

Demo on Island