125
Open Source Content Management Systems Karen A. Coombs Jason Griffey Amanda Hollister

Open Source CMS

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Open Source CMS

Open Source Content

Management SystemsKaren A. Coombs

Jason Griffey

Amanda Hollister

Page 2: Open Source CMS

Karen Coombs• University has 35,000 students

• Has multiple library web sites

• Approx 1000 pages

• Complex intranet

• Implements any tool that will do the job on the library web site, mostly OSS

Page 3: Open Source CMS

Jason Griffey

• University has 9,500 students

• Has one library website,

• Developed the Joomla implementation

• Now maintained by Web Development Librarian

• Moving to all Open Source Software

Page 4: Open Source CMS

Amanda Hollister• College has 7500 students

• One library web site

• Approximately 150 pages

• Simple intranet

• Plays with open source for fun, implementing OSS on next web redesign

Page 5: Open Source CMS

What is Open Source Software

•“free” software

•source code is available for you to examine

•Source code can be modified

•Modifications can be redistributed

•Typically developed in a collaborative fashion by many people

Page 6: Open Source CMS

Some OSS you may know

• Microsoft Windows = Ubuntu, Redhat

• Internet Explorer = Firefox

• Microsoft Outlook = Thunderbird

• AIM = Pidgin/GAIM/ Adium

• Microsoft Office = Open Office

• Adobe Photoshop = Gimp

• Oracle SQL = MySQL

Page 7: Open Source CMS

What is a CMS

• Content Management System

• System for creating, organizing and publishing web content

• Create web content without knowing any code

• Content stored in database back-end and edited/create with web-programming language

Page 8: Open Source CMS

Why use a CMS• Can focus on site organization not

content management

• Can give others ability to update their own content

• One install can manage 10,000,000 html pages

• Easy off-site access

Page 9: Open Source CMS

What are some OSS CMS?

• Wordpress

• Joomla

• Drupal

• Dot CMS

• Plone

Page 10: Open Source CMS

What will we cover?

• Joomla

• Wordpress

• Drupal

Page 11: Open Source CMS

Cortland Free Library

Page 12: Open Source CMS

Joomla as CMS

• Used by a variety of libraries including

–Health Sciences Library, Stony Brook University, South Carolina State Library, Tyngsborough Public Library

• Also used by IHOP, Citibank’s Intranet, Outdoor Photographer (Magazine)

Page 13: Open Source CMS

Joomla as CMS

• Requirements:

– PHP 5.2+

–MySQL 4.1x+

– Apache 2.x+

– (Microsoft IIS 7+)

–Desktop – WAMP, XAMPP, etc

Page 14: Open Source CMS
Page 15: Open Source CMS
Page 16: Open Source CMS

Global Configuration

Page 17: Open Source CMS

Global Configuration

Page 18: Open Source CMS

Content Organization

• Two Level site only

• Sections ->Categories ->Articles

– Sections – very broad topics

– Categories – article “file cabinets”

– Articles = ALL content

– Articles can only be in one category

Page 19: Open Source CMS

Plan Your Content!

Page 20: Open Source CMS

Designing the Site• Add Sections with the section manager

• Add Categories to Sections with the category manager

Page 21: Open Source CMS

Adding Content

Page 22: Open Source CMS

Global Article Parameters

Page 23: Open Source CMS
Page 24: Open Source CMS

Templates

• Decide on a template before doing much work on your site

• The template will determine what modules are displayed and where they are displayed

Page 25: Open Source CMS

Template manager

Page 26: Open Source CMS

Joomla Templates• http://drupal.org/project/Themes

• http://www.joomla24.com/

• RokWebify theme and tutorials for that theme: http://tutorials.rockettheme.com/joomla-templates/rokwebify-tutorials

Note: 1.0x templates may not work with 1.5x

Page 27: Open Source CMS

Making a Page Your Homepage

• By default Joomla displays the most recent “articles” added as the homepage to the “latest news” module

• You can add/remove front page content in the front page manager

Page 28: Open Source CMS

Joomla ExtensionsExtension Types:

• Plugins – can change Joomla functionality

• Components

– can replace web page with a forum, guestbook, forms, galleries etc

– display in center of page, one per page

• Modules

– joomla widgets – menus, polls – Template determines where modules are

placed

Page 29: Open Source CMS

Menus

• Menus are modules – and very flexible

Page 30: Open Source CMS

Menus

• To have different content links – need a new menu item:

Page 31: Open Source CMS

Menu content

Page 32: Open Source CMS
Page 33: Open Source CMS
Page 34: Open Source CMS
Page 35: Open Source CMS
Page 36: Open Source CMS
Page 37: Open Source CMS
Page 38: Open Source CMS
Page 39: Open Source CMS

Modules to Add

• Polls

• Feed aggregators – New books

• Rss links

Page 40: Open Source CMS

RSS Feeds

• Pulling RSS:

–Module type: Feed Display

Page 41: Open Source CMS

RSS Feeds

• Creates a feed for subscribing

• Module – “Syndicate”

• Will create an RSS feed of articles anywhere it is placed.

Page 42: Open Source CMS

Advanced Techniques and Tricks

• MeeboMe in your sidebar

• Catalog Module

– Turn off WYSIWIG editor in Global Configuration

– Create new module with html code for the catalog

– Select where the module will be displayed

– Save module

– Turn WYSIWIG editor back on

Page 43: Open Source CMS

Extension manager

•Installing extensions is easy!

Page 44: Open Source CMS
Page 45: Open Source CMS

Removing extensions

Page 46: Open Source CMS

Fav Extensions!• Google Maps

• DocMan (Joomla 1.0x)

• Joomla Stats

• Xmap

• MorfeoShow

• ChronoForms

• JoomlaPack

Page 47: Open Source CMS

Google Maps

Page 48: Open Source CMS

Document management

Page 49: Open Source CMS

JoomlaStats

Page 50: Open Source CMS

Xmap – Site Map

Page 51: Open Source CMS

Xmap – Site Map

Page 52: Open Source CMS

MorfeoShow

Page 53: Open Source CMS

MorfeoShow

Page 54: Open Source CMS

Chronoforms

Page 55: Open Source CMS

JoomlaPack

Page 56: Open Source CMS

Joomla Issues

• High learning curve

• Inspired hatred at first

• Many extensions are not updated to 1.5x

• Many templates are not updated to 1.5x

Page 57: Open Source CMS

Joomla Strengths

• Exceptional Flexibility

• Good community support

• Inspired love at the end

Page 58: Open Source CMS

Wordpress as CMS•PHP and MySQL Backend

•Used by many libraries for blogging

•Some libraries are using it for some CMS functions:

•Atchison Public Library, California State University East Bay, Dartmouth Public Libraries, Millsaps College Library, Park County Library, Patagonia Public Library, Stevens Memorial Library

Page 59: Open Source CMS

Wordpress Pages

•Outside the normal “sequence” of blog

•Typically, content input via a WYSIWYG editor

•Can be hierarchical

•Can use different templates

•Page order

Page 60: Open Source CMS

Making a Page Your Homepage

•Settings

•Reading

•Front page displays

•Choose the page you want to be your homepage from the drop down

•Make another page your “news” page

Page 61: Open Source CMS
Page 62: Open Source CMS

Themes• In choosing a theme you should consider

the following:

• what kind of banner do you want?

• where do you want your site navigation to appear?

• what kinds of layouts do you want to use, one column, two column, three column?

• do you want a fixed or scalable layout?

• Sources for Themes

• http://wordpress.org/extend/themes/

• http://www.templatesbrowser.com/wordpress-themes/

Page 63: Open Source CMS

Basic Theme Structure

•index.php

•style.css

•header.php

•footer.php

•sidebar.php

•comments.php

•comments-popup.php

Page 64: Open Source CMS

Customizing Your Theme

•Widgets

•Template Tags

•Conditional Tags

Page 65: Open Source CMS

Widgets

•What is a widget?

•Default Widgets

• Archives, Calendar, Categories, Links, Meta, Pages, Recent Comments, Recent Posts, RSS, Search, Tag Cloud, and Text

Page 66: Open Source CMS
Page 67: Open Source CMS
Page 68: Open Source CMS
Page 69: Open Source CMS

Widgets

•Where to get other widgets

• http://wordpress.org/extend/plugins/tags/widget

•Other widgets to consider

• Flexi Pages Widget, Category Posts Widget

Page 70: Open Source CMS
Page 71: Open Source CMS

Key Template Tags• wp_list_pages()

• Post tags - need to sit in the Loop

• the_title()

• the_content()

• the_meta()

• the_category()

• the_tags()

• wp_list_bookmarks()

Page 72: Open Source CMS

Helpful Conditional Tags

• is_front_page()

• is_page()

• can include or exclude pages

• no conditional tag to test for subpages

• is_page_template()

• can check to see if a specific page template is being used

• is_home() - posts page, which is typically the site home

Page 73: Open Source CMS

Custom Fields•Allows you to add additional fields to

pages or posts

•Key - Value pairs

•Stored as text in database

•Can be displayed using <?php the_meta(); ?>

•Better way is to code to display each field<?php $key="mykey"; echo get_post_meta($post->ID, $key, true); ?>

Page 74: Open Source CMS
Page 75: Open Source CMS

Useful Plugins

•Blogroll Links

•cforms

•Google Maps for Wordpress

•Inline Feed

•OpenBook Book Data

•Widget Logic

Page 76: Open Source CMS
Page 77: Open Source CMS
Page 78: Open Source CMS
Page 79: Open Source CMS
Page 80: Open Source CMS
Page 81: Open Source CMS
Page 82: Open Source CMS
Page 83: Open Source CMS
Page 84: Open Source CMS
Page 85: Open Source CMS

Advanced Techniques and Tricks

•MeeboMe in your sidebar

•Creating a Photo Gallery

• Attach files

• [gallery]

•Events Template

Page 86: Open Source CMS
Page 87: Open Source CMS
Page 88: Open Source CMS
Page 89: Open Source CMS
Page 90: Open Source CMS
Page 91: Open Source CMS
Page 92: Open Source CMS

Wordpress Strengths

•Easy to use

•Lots of plugins available

•Easy to create new themes of modify existing themes

•Large user base

Page 93: Open Source CMS

Wordpress Issues•Can’t easily create custom content types

•Events

•Contact Info

•Lacks flexibility to deal with complex types of objects with different types of fields

•Customizing display of group of page/posts requires knowledge of PHP

Page 94: Open Source CMS

Drupal as CMS•PHP and MySQL backend

•Strongly recommend using PHP5

•Used by a variety of libraries including

•Darien Public Library, Athens County Public Library, McMasters University Library, University of Prince Edward Island

Page 95: Open Source CMS

Making a Page Your Homepage

•By default Drupal displays the most recent “nodes” added as the homepage

•You can override this by going to

•Administer > Site configuration > Site Information

•Change the “Default front page” field to be the node you want to be your homepage

Page 96: Open Source CMS
Page 97: Open Source CMS

Themes

•http://drupal.org/project/Themes

•http://drupal2u.com

•http://mydrupal.com/downloads

Page 98: Open Source CMS

Modules to Add

•FCKEditor

•IMCE

•Image

Page 99: Open Source CMS

Modules to Add•CCK

•Date, URL, Email

•Contact Form

•MultiBlock

•Token

•Views

•View Reference

Page 100: Open Source CMS

Content Types

•Pages

•Stories

•Image

Page 101: Open Source CMS
Page 102: Open Source CMS

Blocks

•Default Blocks

•Can be made to display on certain page

•include

•exclude

•PHP

Page 103: Open Source CMS

Blocks

•Custom Blocks

•HTML

•PHP code

•Views

Page 104: Open Source CMS
Page 105: Open Source CMS

Menus

•Primary Links

•Secondary Links

•Navigation

•Menus you create

Page 106: Open Source CMS

Taxonomies

•Used to organize content on your site

•Categories

•Tags

•Can be hierarchical, or free-form

•Different taxonomies can be used for different content types

Page 107: Open Source CMS

Feed Aggregator

•Does more than aggregate feeds

•Creates a block for every feed

•Allows you to embed feed in a node

•Need to give Anonymous user permission to access feeds

Page 108: Open Source CMS
Page 109: Open Source CMS

Image gallery

•Create Galleries

•Uploaded Images can be associated with a gallery

Page 110: Open Source CMS
Page 111: Open Source CMS
Page 112: Open Source CMS

CCK•Add new fields to any Content Type

•Control the type of field added

•Text, Number

•Date, Email, URL

•CCK fields can be used in views

•Remember to give Anonymous user permission to access fields you create

Page 113: Open Source CMS

Create Your Own Content Type

•Events

•Date field

•Time field

•Links

•URL field

Page 114: Open Source CMS
Page 115: Open Source CMS
Page 116: Open Source CMS
Page 117: Open Source CMS
Page 118: Open Source CMS

Views•Types

•Page

•Block

•Feed

•Display

•Node or Fields

•Limit criteria

•Sort Criteria

Page 119: Open Source CMS
Page 120: Open Source CMS
Page 121: Open Source CMS

Filters

•Default filters

•Other filters often classified as “Modules”

•insert_view

Page 122: Open Source CMS

Drupal Strengths•Exceptional Flexibility

•Easy to create new content types

•Substantial user base particularly in libraries

•Drupal4Lib

•SOPAC

•Drupal + Fedora

Page 123: Open Source CMS

Drupal Issues

•Date CCK buggy and problematic

•High learning curve

•Not as many modules and filters developed as one would like

•library-related modules in particular missing in some areas

Page 124: Open Source CMS

Choices, choices

•Wordpress is best for small sites; has an easy start up

•Joomla is best for medium sites, average complexity, relatively easy UI

•Drupal can handle multiple, large, complex sites

Page 125: Open Source CMS

Lessons Learned

•Learning a CMS takes time

•Important to map out your site’s content to know what modules, widgets need to be installed

•Need to decide how you want your site to look in order to choose an appropriate theme

•Understand each CMS’s strengths and limitations