Drupal Feature Building - pulibrary/pul_library_drupal GitHub Wiki

#How should we scope and build features

##Break down to most common point?

  • Individual Entity Features, ie. Database Resource, Library, Subject, People
  • Individual View/Page/Panel Grouping

##By "Feature"?

  • Group Individual Necessary Entities into one feature

Taxonomies:

  • PUL Library - pul_library_taxonomy - tested and working on local, added Tags.
  • PUL Collections - pul_collection_taxonomy - tested and working on local, added Tags. Note, one thing I found is in this case a line "include_once 'pul_collection_taxonomy.features.inc';" was missing in the .module file, possibly causing the field groups to not be placed into the db. I added the line and turned off and then on the feature, and it worked. Found this to be something oft discussed http://drupal.org/node/1619154
  • PUL FAQ Topics - pul_faq_topics_taxonomy - tested and working on local.
  • PUL Hours Calendars - pul_hours_calendar - tested and working on local.

Content Types

  • PUL Library Hours - contains content type Library Hours - Tested and working on local.

Bundled

Thinking on how this all relates, I think we should bundle views and pages, they typically work off each other, and often we build a view to fit into a page, or use a page to present a view.

  • PUL Library Hours Views/Pages- Views Calendar Details and Library Hours (calendar version) - Not yet working.
  • PUL Libraries and Collections - Bundle of views and pages (not created yet) ** View - Library Information - Library Information Pane
    ** View - Libraries and Collections - Several views of the taxonomies, listing out the items, in various ways
    ** Pages - Libraries - /libraries - 9-3 - Uses detailed libraries list view and simple collection list view ** Pages - Collections - /collections - 9-3 - Uses detailed collections list view and simple library list view

Questions

  • Strongarm seems to appear way to frequently. Not even sure why or what it would be doing.
  • Figure out how to handle this issue with Field Groups, often they do not come in or are "different" then the original