Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman [email protected] Sr. Application...

15
Basics of COD Hans Hoerschelman

Transcript of Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman [email protected] Sr. Application...

Page 1: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

Basics of CODHans Hoerschelman

Page 2: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

whoamiHans Hoerschelman

@hoerschelman [email protected]. Application Developer @ UI460 Design (moonlight)UIDUG & DrupalHawksDrupalCorn 2013 Steering CommitteeCoderDojo Mentor –

coderdojo.ictechnest.comRabbit owner

Page 3: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

What is COD?Conference Organizing Distribution

https://drupal.org/project/codDrush dl cod

What’s a Distribution?Drupal core + a set of modules and/or features

aimed at a specific use case

Page 4: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

COD Features“Events” with a registration

FreePaid (w/Commerce, Commerce Registration, and Paid

Event modules)Resource Management

Sessions Users propose sessions

Schedule Item (eg – lunch, breaks, etc)RoomsTimeslotsAttendeesSponsors

Page 5: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

COD FeaturesScheduling

Automate conference schedule Sessions BoFs

User can build personalized scheduleSponsor Management

Associate users with sponsorsAllow sponsor to manage their contentSell sponsorship

Page 6: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

COD FeaturesPromotion

All the stuff you can already to with DrupalTools for contacting usersCommunity Section

Feedback / Post eventSession EvaluationsVideo embeds of sessions or other resources

Page 7: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

The Guts of COD

What COD is NOTA turnkey solution (for now)

No example with clean installReally easy to understand

Have to grok Rules Have to grok Commerce (for paid events)

A stable release Currently Alpha2

Page 8: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

The Guts of COD - Default Drupal 7 Modules

addressfield admin_menu admin_menu_toolbar advanced_help auto_nodetitle block comment commons_profile_base commons_wysiwyg content_access context contextual context_ui ctools ckeditor dashboard date date_api date_popup dblog devel devel_generate diff entity entityreference

entityreference_prepopulate entity_token features field field_group field_permissions field_select_ct field_collection field_sql_storage field_ui file Filter flag forum image jquery_update link list menu node number options og og_access og_context og_field_access og_ui

path pathauto quicktabs quicktabs_tabstyles rules rules_admin search strongarm system text token update user views views_field_view views_bulk_operations views_content views_data_export views_ui Webform

Page 9: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

The Guts of COD - Default Features

cod_base cod_session cod_events cod_community cod_sponsors

Views Admin views embedded on dashboards and other nodes Community Sponsors Events

Patches Its still Alpha!

Page 10: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

Modules You’ll Have To Understand to Set things Up

ViewsRulesCommerce (for paid registrations)Organic Groups

Especially permissions

Page 11: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

Getting StartedAfter install, start with 1 event “DrupalCamp Antartica”

No other configurationCOD default ‘on’ modules

Base, Session, Sponsor, EventsSome default viewsA really ugly frontpage with no content

Page 12: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

Getting StartedTo get a single free event with 1 session up and going

Create the Event, making sure it is an OG GroupALL EVENT CONTENT MUST BELONG TO THE EVENT GROUP!Have to set proper Event OG permissions:

<site>/admin/config/group/permissions/node/eventNeed a SessionNeed a Room/locationNeed a timeslotNeed a track (taxonomy term)

Can’t promise you won’t run into trouble…

Page 13: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

Lets look at the (DEV) site.

COD 7Acquia Cloud hosting

A simple custom moduleSome contrib and sandbox modules

Some small hiccups

Page 14: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

Our ExperienceLots of learning curve

Understanding the usage of OGFiguring out commerce and rules

BugsPaid Event registration ‘half open’ carts

Person is registered but not paid, leaves cart/session timeout, blocked from registering when return OR Multiple carts

Bad field settings (holdover from D6->D7)Unused features due to lack of understanding

Session EvaluationMultiple registration

Page 15: Hans Hoerschelman. whoami Hans Hoerschelman @hoerschelman hans@460design.net Sr. Application Developer @ UI 460 Design (moonlight) UIDUG & DrupalHawks.

Thank YouQUESTIONS?

@[email protected]