66
1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida Original image* by Moshell et al . Imagery is fromWikimedia except where marked with *.

1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

Embed Size (px)

Citation preview

Page 1: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

1

Information Management

Content Management Systems

CMS: Joomla & Drupal(with flashbacks to Wordpress)

J. Michael Moshell

University of Central Florida

Original image* by Moshell et al .

Imagery is fromWikimedia except where marked with *.

Page 2: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-2 -

Objectives of this course

concerning CMS:

• Be familiar with what CMS are good for• Have brief experience with three CMS

- Wordpress

- Joomla

- Drupal

• Have extensive experience using ONE CMS to build an information management system/website

Page 3: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-3 -

Some unfinished business

from Wordpress:

• I was installing a Support Ticket plugin• Needed to have it appear on a Page• Didn't know how to make it happen.

WHAT TO DO?

Page 4: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-4 -

Some unfinished business

from Wordpress:

• I was installing a Support Ticket plugin• Needed to have it appear on a Page• Didn't know how to make it happen.

WHAT TO DO? R T F M

Page 5: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-5 -

Some unfinished business

from Wordpress:

• I was installing a Support Ticket plugin• Needed to have it appear on a Page• Didn't know how to make it happen.

WHAT TO DO? R T F M

Read the Flippin' Manual

Page 6: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-6 -

What manual?

http://wpstorecart.com/wpsc-support-tickets/#Dashboard_Widget

Page 7: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-7 -

What manual?

http://wpstorecart.com/wpsc-support-tickets/#Dashboard_Widget

Page 8: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-8 -

What wpsc Support Tickets Page?

I go back to last week's notes; discover it in main

admin menu

Page 9: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-9 -

What wpsc Support Tickets Page?

I go back to last week's notes; discover it in main

admin menu

Page 10: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-10 -

What wpsc Support Tickets Page?

I go back to last week's notes; discover it in main

admin menu

Page 11: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-11 -

Page now appears with new tab

Page 12: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-12 -

So we try it --

Page 13: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-13 -

So we try it --

Page 14: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-14 -

So we try it --

Page 15: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-15 -

So we try it --

Page 16: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-16 -

The ticket turns up in the Admin's

Support Ticket mgt. screen

Page 17: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-17 -

The other problem we had ...

Page 18: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-18 -

The other problem we had ...

What to do?

Page 19: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-19 -

The other problem we had ...

What to do? R T F M!

Page 20: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-20 -

The other problem we had ...

What to do? R T F M!

In this case, it means

READ THE FLIPPIN' MESSAGE!

Page 21: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-21 -

The message says output was

started by fragrance/functions.php

What to do? Go look at that code.

Page 22: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-22 -

Here's the code.

See any potential problems?

Page 23: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-23 -

An old PHP hand would instantly

see ... a BLANK LINE outside TAGS

Page 24: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-24 -

So, I fixed that little problem...

and the theme works fine now.

Page 25: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-25 -

How do you get experience?

- Put in the time

- Blunder in the dark until you

KNOW what you DON'T KNOW

- Go ASK someone who's been there

before

Page 26: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-26 -

How do you get experience?

- Put in the time

- Blunder in the dark until you

KNOW what you DON'T KNOW

- Go ASK someone who's been there

before

... e. g. me. (That's what you are

paying me for)

Page 27: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-27 -

Joomla:

• Advantages:

- Designed as a CMS from the get-go

- Relatively easy to use

- Lots of plug-in modules (9969 in 2012)

Disadvantages: No built-in tag system;

Diminishing popularity

Page 28: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-28 -

Joomla: Control Panel

Page 29: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-29 -

• User classification:

called User Groups

Joomla:Features

Page 30: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-30 -

Joomla:Features

• User classification:

• User Groups

•+ You can add a new Group

•(E. g. Pastafarians, subgroup of Customer)

Page 31: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-31 -

• Fundamental content types:

• Article

• Others added by Extensions

• Instead of “published” or not,

•Access Levels: Public, Registered, Special, and:

•You can add custom Access Levels

•You can assign each document an Access Level

Joomla:Features

Page 32: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-32 -

• Visual design: Templates

• Easy to install

• Build your own

•Template Manager:

• control over dynamic

elements of template

Joomla:Features

Page 33: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-33 -

• Menu design: Menus (links to Extensions, articles)

Joomla:Features

Page 34: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-34 -

Joomla: Extensions

• Come in three flavors:- Components (large)- Modules (smaller)- Plugins (small, usually built-in)

Page 35: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-35 -

Joomla: Content classification

Categories:

+ Hierarchical (sub-categories)-An article is in just one Category

Tags: Not native to Joomla

(What’s a ‘tag’? A search term that’s not in the

article itself, but which you may need to find

the article.)

Page 36: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-36 -

An example of ‘tagging’

A ROGUE’S REVENGE

The pachyderms had a field day last week at

the Oviedo Circus. Feeling mistreated, Jumbo, the

largest of the huge grey animals, deposited 800 pounds of (shall we say) “used hay” on the mayor’s doorstep.

TAGS:

elephant, Joan Horton, manure

Page 37: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-37 -

Joomla: Setting up

• Creating a database. If you haven’t figured it out

by now:

MAMP or WAMP -> phpMyAdmin

(1)DB User:

Page 38: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-38 -

Joomla: Creating DB User

Page 39: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-39 -

Joomla: Creating New DB

Just name your database,

then hit ‘Create’.

Page 40: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-40 -

As you walk through the procedure, you will

be asked for your database name, userID

and login.

You just created these information items.

Setting up Joomla: Special notes

Page 41: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-41 -

IF you are setting up on Sulley, then you have only one DB for your use. Its name is your nid.

In this case open “Advanced Settings”. Provide your initials as a table prefix, like

jmm_

o Backup old tables (you don’t have any)

Setting up Joomla: Special notes

Page 42: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-42 -

Here’s a typical problem. You may have others.

So I googled “Joomla error loading feed data”.

This brought me to a forum post.

Setting up Joomla: Problems

Page 43: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-43 -

• BUT .. No such module is in my default setup.• Also, that URL is NOT broken now.• However, it gives me the idea: some module is broken.

Forum Post:

Page 44: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-44 -

• I disable lots of modules at once, to find the problem.• Didn’t help. Logged out and in again. No message.• Now I re-enable HALF the modules to seek the problem.• Re-enabling all of them; still no message. BUT• On front page, “Alert: The URL is not valid..”• SO, disable modules again. Click ‘Home’ to test.• I narrow the problem down to the ‘wrapper’ module.

Debugging:

Page 45: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-45 -

• I narrow the problem down to the ‘wrapper’ module.

Understanding:

I google “Joomla Wrapper”

Explanation:

The Wrapper Menu Item creates a shortcut to a display page that

wraps an external web page. The new display page appears as a

'page within a page'. If this is an external web site, all of that site's

functions, menus for example, will be operable from within

the Wrapper.

Page 46: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-46 -

• I narrow the problem down to the ‘wrapper’ module.

Understanding:

I google “Joomla Wrapper”

Explanation:

The Wrapper Menu Item creates a shortcut to a display page that

wraps an external web page. The new display page appears as a

'page within a page'. If this is an external web site, all of that site's

functions, menus for example, will be operable from within

the Wrapper.

Page 47: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-47 -

• So … ‘wrapper’ needs some data. Maybe a URL?

Exploring a Module’s Settings:

I open the module by clicking on its blue name in the

Module Manager:

Page 48: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-48 -

• And … there’s an empty URL box!

Exploring a Module’s Settings:

I put in a URL that I know is valid.

Page 49: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-49 -

Exploring a Module’s Settings:

Back to main page: NO PROBLEM!

Lower left corner now contains:

And, by using the control panel

Of the module again,

I can change the header:

Page 50: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-50 -

Exploring a Module’s Settings:

Back to main page: NO PROBLEM!

Lower left corner now contains:

And, by using the control panel

Of the module again,

I can change the header:

Page 51: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-51 -

Strategy for Debugging:

1. Understand the problem

- seek help from the Web

- try to generalize on the advice, if it doesn’t work

2. Change things, one at a time, note results

3. Persist, but don’t get frustrated!

- take a walk, do something else

4. Go get help if needed

- team mate

- post to the forums yourself

- come see professor in office hours

Page 52: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-52 -

Another bug, another search

INVALID TOKEN (when logging into Administrator.)

Forum search … empty history, close & reopen browser

That worked. Onward we go with debugging ... which

never ends.

You may grow to love debugging – it's your main job skill.

You may grow to hate debugging – move into Marketing Dept!

Page 53: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-53 -

Drupal: The Dutch Option

Let’s focus on the salient differences between

Drupal, Wordpress and Joomla.

Content classification: WP, J: Categories, Tags

Joomla: Taxonomy + Vocabulary

You can define a controlled vocabulary for any term in the

taxonomy. This can serve to generate pulldown lists, radio option

buttons, checkbox lists, etc.

Page 54: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-54 -

Drupal: Special Features

Modules: 17,200 of them (2012). Technically sophisticated

e. g. RDF (Resource Description Framework)

A useful resource for Artificial Intelligence connections

Theming: Prior to Version 7, Admin showed current theme

(Joomla & Wordpress have a static Admin theme)

In Version 7, you select Admin theme from active list

Page 55: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-55 -

Drupal: Special Features

Search: Site is pre-indexed and re-indexed by a cron task.

What’s cron?

It’s a unix process that can be scheduled to run at regular

intervals, even if no user is generating events on

the website.

So you would set up a cron task to re-index, e. g. every 10 mins.

Page 56: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-56 -

Drupal: Special Features

Search: Site is pre-indexed and re-indexed by a cron task.

What’s "Pre-indexed"?

Well, I lectured last week on indexes.

You should be able to deduce that searching a complex

CMS-based website can be slow. A built-in index

whould be a major help. BUT re-indexing after a changbe

(by a user) to the site can be slow too.

Best if you can do it when the user is not "in the loop".

Page 57: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-57 -

Drupal: An Example

The Field module: Add data fields to existing sites.

Example: Take a tour of RSL’s moma “Moshell Manager”

built with Drupal

incorporates a Job Ticket module

used the Field module to extend

includes two custom modules

Page 58: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-58 -

Drupal: Distributions

In Drupal-world, The usual approach is to build your system

by selecting Modules and Themes from online libraries

Drupal Modules ‘out in the world’

Themes ‘out in the world’

Page 59: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-59 -

Drupal: Distributions

In Drupal-world, a distribution is a complete package

including a Drupal core (e. g. 6), associated

modules, themes, special libraries and example data.

COD EXAMPLE: Conference

Organizing

Distribution (COD)

Page 60: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-60 -

Drupal: Distributions

How to analyze a Module or a Distribution

1)Make sure you know what you need.

Example: In Conference Registration, there are “3 dimensions”

SALE ITEM: What the registrant wants

(Main Conference, Tutorial, Spouse Program)

ATTENDEE TYPE: What price level they’re at

(Student, member, nonmember, retiree)

PAYWHEN: Early rate, late rate, onsite rate

Page 61: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-61 -

Drupal: Distributions

How to analyze a Module or a Distribution

2) Experiment with the system to see how it meets your needs

SALE ITEM: What the registrant wants

(Main Conference, Tutorial, Spouse Program)

No problem; it’s built on a Shopping Cart

ATTENDEE TYPE: What price level they’re at

(Student, member, nonmember, retiree)

Problems – several!

Page 62: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-62 -

Drupal: Distributions

ATTENDEE TYPE: What price level they’re at

(Student, member, nonmember, retiree)

Problems – several!

Problem 1: Shopping cart metaphor:

“Select first, register yourself later during checkout.”

BUT the shopping cart has ONE price per sale item.

Problem 2: Shopping cart system had no capability for automatic

date-sensitive pricing (Early vs. Late rate.)

A site built with this system would need manual

maintenance. Miss cutoff lose money mad client!

Page 63: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-63 -

Drupal: Conclusions

It’s a spiffy framework for custom-writing your own code.

>Many resources, foreign language support, etc.

It’s got thousands of modules that should be checked out

It’s got a steeper learning curve than the other CMS

BOTTOM LINE: Find the MODULE(s)* you need, and THEN

CHOOSE YOUR CMS!

* (or distributions)

Page 64: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-64 -

Note- I’ve linked a spreadsheet

Summarizing the key differences

that I’ve found in these 3 CMS

You should report other differences

to me as you find them... help

future students ...

See course website for the link.

Page 65: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-65 -

And now we tour your Modules

How did you seek?

What did you find?

How will you seek tomorrow?

Page 66: 1 Information Management Content Management Systems CMS: Joomla & Drupal (with flashbacks to Wordpress) J. Michael Moshell University of Central Florida

-66 -

THURSDAY: Your Requirements

Presentations

Mail them to me ON THURSDAY

with this Precise Subject:

DIG3563 – Requirements – Pachyderms

(if your team’s name is ‘Pachyderms’)

NOTE: No space between DIG and 3563