Professional Documents
Culture Documents
Site Building Step-By-Step: Build An Event Listing
Site Building Step-By-Step: Build An Event Listing
BUILD AN
EVENT LISTING
About me
heather on Drupal.org
@learningdrupal
@hjames
Discovery
kilkennyevents.ie - wordpress site
Teaser
Event submission
Anonymous
submission
Submitter details
Event details
Image upload
drupalshowcase.com
Poster view
janepickens.com/coming-attractions
Calendar view
janepickens.com/coming-attractions
Full event page
Image
Description
Off-site links
Etkinlik Takvim
etkinliktakvimi.org
Variety of navigation
Month navigation
etkinliktakvimi.org
By category
Todays events
Browse by date
imamuseum.org - drupal
Custom theming
imamuseum.org - drupal
Filtered list
Event submission
Approval queue
Depends on needs
Frequency of events?
Multiple days?
Images for events?
Who is submitting events?
Specification
Mini calendar
Browse events
Content display
Full page
Teaser mode in
Venue listing page
Table showing titles
and images
Really local events
Logged in users can submit events
Associate events with a specific venue
Show listing of event teasers on one page
Filter by venue
Show mini-calendar in block
Display full event
Starting out of the box
Manually
With Pathauto
Custom patterns
Pathauto patterns
Other patterns
Improvements
Defaults: No comments, no menu
Add a date field
Add a related venue field
Default settings
Customizing events
Structure > Content types > Edit event
Hide author by default
Close comments by default
Dont add to menu
Manage fields
Defaults:
No comments.
No adding to main menu.
No author and date info.
Not promoted to front page.
Fields:
Title and body.
Better: Vocabulary
Vocabulary: Venue
Description
Terms: Controlled by administrator
Bonus: RSS feed per venue, easy to
navigate.
Structure > Taxonomy > Add
Add terms
Add terms
Terms
Add as a field
Add field
Set global defaults
Set content-type specific defaults
Arrange field
Check display
Term reference field
Field settings
Content editing
Who can edit events?
All users?
Authenticated users?
Only administrators?
Not logged in
Logged in
Improvements
Should items be published automatically?
Should we make an approval queue?
Use Views Bulk Operations
Test with real content editors and REAL
content.
Add sample content
Developer module
+ Any dependencies
Structure > Views > + Add
Add menu link
Event listing
Views configuration
Add fields
Configure each
Image display
Venue display
Preview
Improvements
Default sort for date
Sortable columns for Venue and date
Image first
Arrange fields
Column sorting
Preview!
Improvement
Add filter to allow user to select one venue
Filter out past events for this listing
Add exposed filter
Expose filter
Preview!
Add date filter
Preview!
Event listing
Calendar page
Date views
Template options
Rename view
Defaults
Preview defaults
Default by month
By week
By day
By year
Customize
Structure > Blocks
Block: Upcoming
View: Event calendar
Preview
Improvements?
Share this button.
drupal.org/project/sharethis
Bookmark option.
drupal.org/project/flag
Whats next?
Learn more
Training in May-June
training.acquia.com/events
Site building - May & June
Drupal in a Day Site Building
Leuven, Belgium Vancouver, Canada
Alexandria, VA Portland, OR
Vancouver, Canada Cincinnati, OH
Portland, OR Leuven, Belgium
Cincinnati, OH Amherst, MA,
Toronto, CA Geneva, Switzerland
Amherst, MA, New York, NY
Geneva, Switzerland Schaumburg, IL
New York, NY Bordeaux, France
Bordeaux, France Charlotte, NC
Charlotte, NC Washington, DC
Washington, DC Dallas, TX
Dallas, TX San Francisco, CA
Paris, France Paris, France
Montreal, Canada Montreal, Canada
training.acquia.com/events
j.mp/datesD7
Available now
j.mp/fullcalendar-course
May 17th
Styling
j.mp/calendar-theme
udemy.com/learn-drupal
Site building - May & June
Drupal in a Day Site Building
Leuven, Belgium Vancouver, Canada
Alexandria, VA Portland, OR
Vancouver, Canada Cincinnati, OH
Portland, OR Leuven, Belgium
Cincinnati, OH Amherst, MA,
Toronto, CA Geneva, Switzerland
Amherst, MA, New York, NY
Geneva, Switzerland Schaumburg, IL
New York, NY Bordeaux, France
Bordeaux, France Charlotte, NC
Charlotte, NC Washington, DC
Washington, DC Dallas, TX
Dallas, TX San Francisco, CA
Paris, France Paris, France
Montreal, Canada Montreal, Canada
training.acquia.com/events
What modules appeared?
drupal.org/project/date
Related links
drupal.org/project/link
Filterable event list
drupal.org/project/views
Calendar grid display
drupal.org/project/calendar
What fields appear where
drupal.org/project/ds
Markup control
drupal.org/project/fences
Supporting cast
Token
Pathauto - Human friendly URLs
CTools - Magic for Views
Devel - Bulk creation of content for testing
Any questions?