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 3: 4 hrs]
-- Profile (4 hrs)
--- theme_profile_listing()
-- theme_user_picture() (2 hrs)
-- theme_user_profile() (2 hrs)

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: 4 hours

CommentFileSizeAuthor
#1 989066.patch2.8 KBchalet16
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chalet16’s picture

FileSize
2.8 KB

Patch

cwgordon7’s picture

Status: Active » Needs review
dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Manual testing worked fine. Code looks fine, too.

agentrickard’s picture

Status: Reviewed & tested by the community » Needs work

I had no idea that Profile module was deprecated. That's a nice solution.

Can we set a dummy user pic for the purpose of this test?

chalet16’s picture

1) Profile module had been replaced with field module. I think.

2) OK. I think I have an idea to do this.

agentrickard’s picture

I think you can just pass in one of the sample images if no image is set.