GSoC/GCI Archive
Google Code-in 2010 Drupal

Create Plugins for Style Guide module [Task 2]

completed by: chalet16

mentors: agentrickard

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].

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 create a module include file that adds preview elements only when optional core modules are enabled:

[Task 2: 8 hrs]
-- Forum (4 hrs)
--- theme_forums()
--- theme_forum_form()
--- theme_forum_list()
--- theme_forum_topic_list()
-- Image (4 hrs)
--- theme_image_style(), for all active styles.
-- theme_feed_icon() (1 hr)

Deliverables:

-- Patch(es) to include the desired features to the Style Guide module.

Resources:

Style Guide module: Style guide module

Primary contact:

agentrickard

Estimated time: 8 hours

Drupal issue: DrupalIssue-989060