Drupal Recipe: Before and After Gallery Lisa Forgan and Chris Neglia, using notes from Drupal Camp Colorado Copyright 2009, Page 1 Solutions LLC.

Slides:



Advertisements
Similar presentations
Publication Module using back end interface. Institution Data Entry Add Documents. Edit/Delete Documents that are added but not yet sent to Institution.
Advertisements

Drupal Basics Part 1 An Overview Login Information Edit the Homepage Using the theme Agricultural Communications Services Integrated Media Training Sessions.
Drupal Basics Part 3 Create a new page Main tabs menu Using the theme Agricultural Communications Services Integrated Media Training Sessions
Drupal Basics Part 5 Understanding Blocks Using the theme Agricultural Communications Services Integrated Media Training Sessions
Google Apps Access Google Apps from the Parkland Intranet Page:
Click to edit Master title style How to Create a Discussion Silver & VIP members
Seattle Drupal Clinic Introduction to Drupal and Web Content Management.
Header and footer basics Add page numbers, date, and more Think of page formatting in a book. The book title is at the top of one page, the chapter title.
1 Excel Lesson 6 Enhancing a Worksheet Microsoft Office 2010 Introductory Pasewark & Pasewark.
Computer Science 5 Spring 2007 Module 3 7/12/2015 1:55:57 PM7/12/2015 1:55:57 PM7/12/2015 1:55:57 PM.
Inventory Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic or Figure.
SharpSchool Teacher Training. Sharp School Login Go to:
New School Websites Teacher Pages. Visit the SCUSD Website for videos tutorials: For more information.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Review of last session The Weebly Dashboard The Weebly Dashboard Controls your account and your sites Controls your account and your sites From here you.
8/16/2015alicewebmaster1 Create contents with the new Content Management System (Drupal): Workflow for page editors.
The Dr ü G Book: An Intro to Drupal The Dr ü G Book: An Intro to Drupal (Dr ü G: Drupal User ’ s Group - users, not developers) This is an introduction.
Creating a Website in Weebly Created by: Joey Weaver Modified by: Mrs. Wilson.
Drupal Workshop Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology, Drupal technology, directories.
Drupal and the CMS Project. Lesson Learned #1 Keep your modules updated, especially when there are security concerns in the update notes 2010 | The Sky’s.
Website Tutorial. Administration  Log on by clicking Login on the footer of almost any page  Your Username is.
131 Agenda Overview Review Roles Lists Libraries Columns.
Lesson 13: Building Web Forms Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
>To add a component via Page Editor, go to the View tab and check the Designing checkbox to enter Designing mode. >Next, simply click the Component button.
Administration Tab CiviCRM. Data Organization in CiviCRM: "Building Blocks" Contacts Reports Mail Tags Activities Contribe Member Events and Event Attendences.
Getting Started with Moodle Getting Started Logging In Entering Your Address Viewing a Course Navigating Your Course’s Homepage Personalizing Your.
Creating Effective School and PTA Websites Sam Farnsworth Utah PTA Technology Specialist
Moodle (Course Management Systems). Assignments 1 Assignments are a refreshingly simple method for collecting student work. They are a simple and flexible.
School District U-46 Metadot Portal Training. Agenda Intro – Objective Useful Terms Main Page Login Help/Support My Website Enable Editing Edit Your Home.
Singapore Primary Schools Sports Council User Guide.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Office of Educational Technology School District of Philadelphia Introduction to Sites Google Sites This presentation is available at
Presented By David Speight.  Easy Student Accessibility  Familiar Navigation  Fits Inside the Box  Works Outside the Box  Allows Creativity without.
Information Management System “ Expert Profile Module" Information Management System “ Expert Profile Module" The Expert Profile module is an integrated.
JUX 1 12/26/2012 JUX Creating in Jux allows you to present your images, captions, text, blogs, etc. in a creative format. Create an Account Login at
Weblog Manual Contents: Login and managing your account ……….p. 2 Uploading files……………………………………p. 3 Uploading images……………………………….p. 4 Cropping images..………………p.
Drupal Overview Prepared by : Agustin D. Gumogda Jr. Instructor.
IFORM ACCOUNT MAINTENANCE ICT4D SESSION 4. IFORMBUILDER WEBSITE REQUIREMENTS To access the iFormBuilder website, you need the following items: -Reliable.
Singapore Schools Sports Council User Guide. Table of Contents How To Login How To Logout How To Add Games Content (Same for ASG) How To Edit Games Content.
Seattle Drupal Clinic Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology.
CIS—100 Chapter 7—Headers and Footers 1. Chapter Objectives 2 After successful completion this chapter you should be able to:  Add page numbers.  Add.
Foxbright – Smarter Education Websiteswww.foxbright.com Foxbright Training Foxbright Teacher Pages
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
Drupal Recipe – Login Destinations Chris Neglia & Lisa Forgan Copyright 2009, Page 1 Solutions LLC.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Global Teacher Blogs. Blogs – (Web log) a blog is a web site that is usually used as an individual journal and is publicly accessible. (
A STUDENT’S GUIDE TO ADDING IMAGES TO NEW OR EXISTING BLOG POSTS Adding Images to Your Blog Post Presented by Michelle Krummel.
Introduction to Views Stanford Drupal Camp April 6, 2013.
Drupal for client Maria Sherskova skype: sherskova.
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
Classifications Schemes and Class Scheme Items in the Curation Tool: Interface Design Audrey Lipps, User-Centered Design
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
Drupal Theming Chris Neglia and Lisa Forgan Copyright 2009, Page 1 Solutions.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Staff Module and Summary of Changes 1. Icon Changes: Page 3 Signing In and Password/Pin Changes: Page 4 Logging Out: Page 8 Staff Module Changes: Page.
How to create blogs In. Register Click on If you have a Google account(i.e. Gmail), then sign in with your username.
Copyright © 2010 Verizon Foundation. All Rights Reserved. This document may be reproduced and distributed solely for uses that are both (a) educational.
Staff Module and Summary of Changes 1. Icon Changes: Page 3 Signing In and Password/Pin Changes: Page 4 Logging Out: Page 8 Staff Module Changes: Page.
School District U-46 Metadot Portal Training. Agenda Intro – Objective Planning Main Page Login Help/Support My Website Enable Editing Edit Your Home.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
Dan Hakimzadeh Agenda ● A Fistful of Photos ● For a Few Photos More ● The Good, The Bad, and The Templates.
5.5 Adding Photo Gallery Module
Welcome to the JCISD Teacher Website Training Guide
Head of the department.
Word offers a number of features to help you streamline the formatting of documents. In this chapter, you will learn how to use predesigned building blocks.
So you were told to make a website
YOUR TITLE HERE Your name here.
Drupal user guide Evashni Jansen Web Office.
Upload/Download Inventory
Upload/Download Inventory
Presentation transcript:

Drupal Recipe: Before and After Gallery Lisa Forgan and Chris Neglia, using notes from Drupal Camp Colorado Copyright 2009, Page 1 Solutions LLC

Login as root user You will need to be logged in as root user Alternatively, the root user will have to have given your account’s role permission to add new content types as well as having given access to adding modules and views.

Install Modules CCK – enable all components except ‘filefield meta’. Most important are ‘content’, ‘content permissions’, ‘filefield’, ‘imagefield’, ‘filefield tokens’, ‘nodereference’, ‘link’ Views – enable all : ‘views’, ‘views UI’ ImageCache – enable all except for ‘Imagemagick’ Thickbox (or Lightbox2)

Create new content type Admin/content/types/add Create a content type called ‘before_after_pair’ Add a field for file, widget type ‘image’, call it field_before_photo Add a field for file, widget type ‘image’, call it field_after_photo Set options as needed, click ‘add content type’

Create new before-after content Create content for this newly created type Add a before / after photo. Save. Repeat above x2 You now have 3 photo pairs. But no one can view them yet without permissions.

Imagecache preset for thumbs Go to imagecache, add a new preset. Call the preset ‘before_after_preset’ Add scale and crop (or just scale, or resize) – make it something like 120x120 Click save.

Permissions Go to permissions, give anonymous and authenticated user ‘view’ access to the before-and-after content type AND ‘view’ access to each field (field_before_photo, field_after_photo) content fields. Give authenticated user (or whichever role) the ability to ‘create’ and ‘edit own’ and ‘delete own’ permission to the before-after content type/fields Give anonymous and authenticated user the ability to ‘view imagecache before_after_preset’ Give anonymous and authenticated user the ability to ‘access all views’ Give an admin user the ability to edit/delete any of this new content type. Be careful with this permission.

Gallery in Views (1) Add new view, call it before_after_gallery. Choose type ‘Node’ Add display ‘Page’ Change title to ‘Before and After’ Change style to ‘grid’, edit the settings of grid by clicking on the gear and choose 1 column (or 2, 3, your pref) Use pager: mini Items: 10

Gallery in Views (2) Click + on filters, add Node : Type (is one of ‘before and after photos’ or whatever you named your new content type) Click + on fields, filter by ‘content’. Add Content: Before (field_before_photo) and Content : After (field_after_photo). Don’t add ‘_data’ fields. Select ‘Label : none’ Under ‘Format’, choose ‘Thickbox: before_after_preset image’ or a similar format for lightbox2 that references the imagecache preset.

Gallery in Views (3) Click + on sort criteria, add Node : Post Date, Descending Click + on arguments, add Node : User posted or commented, allow username and userID. If no argument is present, give 404. Under ‘Page Settings’ : ‘Path’ update the path to be ‘before-and- after/%’ or something similar Scroll down. Under ‘Live Preview’, choose ‘Page’ and type your username or uid into the box and hit preview. If all was done well, you should see thumbnails of your images. Clicking on them should bring up a lightbox. Your view is now available at ‘ after/USERNAME’. Note: you will still have to style this view to make the thumbnail images inline instead of stacked.

Congrats You now have a working gallery view. You need to make a navigation for it in your profile. This can be done with PHP to get the username or uid and plug it into the link in the profile. You can also use tokens to put in a navigational element (menu item) and insert the item into a block. A custom block with this menu item that has visibility only for authenticated users (or a special role) is a snazzy idea also. The choice is yours!