Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Wywiwyg and Drupal

on

  • 654 views

 

Statistics

Views

Total Views
654
Views on SlideShare
654
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Wywiwyg and Drupal Wywiwyg and Drupal Presentation Transcript

  • WYWIWYG Melissa McEwen Twitter/Drupal: Melissamcewen
  • The Need
    • So-called “normal” people don’t like dealing with code
    • Need a graphical interface for creating and editing content
  • What You See Is What You Get
    • Users can see something closer to the final product instead of HTML
    • Buttons and other features to help format text, add images, links to urls, etc.
  • Drupal
    • Wordpress has a native WYSIWYG, Drupal does not
    • Many different types of WYSIWYG editors and modules to chose from
  • WTFIWYG
    • WYWIWYG modules in general often frustrate users because they lie
      • Filters
      • Stupid evil copy and pasting
  • Fun with Users: Pasting from MS Word
  • NOOOOOOOO WHYYYYY???!!
  • GIANT IMAGE OF DOOM MY PAGE LOAD TIME IS SOOOOOOO HIGH! WHY?
  • Do You Need This?
    • CCK/Views/CSS solution available
    • Create content types
    • Style fields
    Field: title Field: Url + Field: Link title Field: image + imagecache resize CSS
  • Stages
  • Input Format
    • Valuable opportunity to tailor editor to user needs
    • Plain HTML for admin, lots of buttons for content editors (images, bullet points) , a few (bold, link, etc.) for anon comments
    • http://drupal.org/project/better_formats
  • Popular Editors
    • CKEditor
    • FCKeditor
    • TinyMCE
    • YUI
    • All of them have some issues
  • Two Options
    • Individual modules
    • CKEditor, FCKeditor
    • Often has more options for customization
    • Often have annoying things, like CKEditor assumes you want it for every text field unless you exclude it
    • WYSIWYG API
    • Flexible- switch to a different editor easily
    • Growing number of options that are very useful like strip out crap on paste, choosing buttons without editor code
    • The future! Standardization for other module integration!
    • Libraries API: Keep stupid non-Drupal code out of your /modules directory
    http://drupal.org/node/831478
  • Image Handling
    • Do you use built-in image upload?
    • Insert module/CCK Field might be a better option
      • No code editing to enable
      • Probably more secure
      • Imagecache integration
    • Resize filter , save your bandwidth
    • IMCE or Imagebrowser
    http://groups.drupal.org/node/49658
  • Filters
    • Do your options match up for what’s allowed?
    • For example: image button, when <img> tag is not allowed by filter
  •  
  •  
  •