Your SlideShare is downloading. ×
0
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Drupal con portland library bof
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Drupal con portland library bof

320

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
320
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Drupal in LibrariesBoFdrupal4lib.org
  • 2. Drupal + OPAC =Cover Art CarouselDrupalCon PortlandLibrary BoF MeetingNina McHale
  • 3. “How’d You Do This?!”
  • 4. How to link into the catalog?
  • 5. Carousel Ingredients:• “Catalog Item” content type• Stable URLs to bib records in catalog• A cover art source (i.e., Syndetics)• Upload widget also available for exceptions/missing/poor qualitycover art• jCarousel*-based view• CSS to adjust carousel to different sizes*jCarousel is no longer activelymaintained
  • 6. The “Catalog Item” ContentType
  • 7. “Catalog Item” Particulars• Second “Title” field feels redundant, but isrequired for proper manipulation in the view• Use the “Syndetic Links” field OR the imageupload widget• A checkbox determines which page(s) on the sitethe catalog item should appear upon
  • 8. The jCarousel View
  • 9. View ConfigurationParticulars, 1/2• OPAC URLs are listed first in fields so that youcan use tokens to pull them into image, title, andauthor fields• To send user into the OPAC, rewrite outputs forimage, title, and author (“output as link”) for coverart image, title, and author/person info to thecatalog link to the bib record
  • 10. View ConfigurationParticulars 2/2• Cover art images:• Image availability: if an image is available fromSyndetics, check “Hide rewriting if empty,” and viceversa• Rewrite output of Syndetics image field:• <img src="[field_syndetics_image-title]" alt="coverart" width="150" height="225" />• OR, use image style to resize an uploaded image
  • 11. Carousel, Resized with CSS:
  • 12. Questions? Comments?Suggestions?Nina McHaleninermac.net@ninermac

×