Task description:
Background
The Style Guide module for Drupal provides a visual testing page for Drupal themes. Quickly compare the display of common elements across installed Drupal themes, and verify that selected themes addresses all common style elements.
Be sure to use the latest version of HEAD, which incorporates the changes in #949070: Create plugins for Style Guide module [Task 1].
Preparation
-- Download and install Drupal 7.
-- Visit the 'Appearance' page in the administration interface to find the Style Guide links.
New plugins
Using the API (styleguide.api.php, in the module download), create a patch to styleguide.styleguide.inc or a custom module include that adds preview elements only when optional core modules are enabled:
[Task 5: 7 hrs]
-- theme_maintenance_page() (2 hrs)
-- theme_pager() (2 hrs)
-- theme_progress_bar() (2 hrs)
-- theme_system_powered_by() (1 hr)
Deliverables:
-- Patch(es) to include the desired features to the Style Guide module.
Resources:
Style Guide module: Style guide module
Primary contact:
Estimated time: 7 hours
Comment | File | Size | Author |
---|---|---|---|
#4 | 989076-gci-2.patch | 2.22 KB | agentrickard |
#2 | styleguide-gci-task-5.patch | 1.45 KB | chalet16 |
Comments
Comment #1
agentrickardTagging.
Comment #2
chalet16 CreditAttribution: chalet16 commentedPatch
Comment #3
agentrickardExcellent. Will review.
Comment #4
agentrickardI suspect this may have been too easy. I expected the maintenance page to be a bit harder.
Cleaned up the patch a touch:
-- Removed some empty spaces.
-- Renamed 'UI' to 'User interface' for clarity. These might still move to common.
-- Added parameters to styleguide_pager(), since it is now an abstraction function.
Really love the progress bar. It's cool.
Going to mark as complete.
Comment #5
agentrickardCommitted to HEAD.