Bachir Soussi Chiadmi 1bc61b12ad first import 9 роки тому
..
assets 1bc61b12ad first import 9 роки тому
CHANGELOG.txt 1bc61b12ad first import 9 роки тому
LICENSE.txt 1bc61b12ad first import 9 роки тому
README.markdown 1bc61b12ad first import 9 роки тому
styleguide-rtl.css 1bc61b12ad first import 9 роки тому
styleguide.api.php 1bc61b12ad first import 9 роки тому
styleguide.css 1bc61b12ad first import 9 роки тому
styleguide.info 1bc61b12ad first import 9 роки тому
styleguide.module 1bc61b12ad first import 9 роки тому
styleguide.styleguide.inc 1bc61b12ad first import 9 роки тому
styleguide.theme.inc 1bc61b12ad first import 9 роки тому

README.markdown

// $Id: README.markdown,v 1.2 2010/10/19 15:01:29 agentken Exp $

Style Guide Drupal Module http://drupal.org/project/styleguide

The Style Guide module creates an API and preview page for displaying common theme elements. Use it to preview items such as tables, menus, and lists in your custom themes.

Installing Style Guide:

  • Place the entirety of this directory on a Drupal module path, under a location like: sites/all/modules/ or sites/all/modules/contrib
  • Navigate to the modules administration page and enable the module.

Using Style Guide

  • You must be logged in as a global admin user (uid=1), or the user you are logged in with must have a "View theme style guides" permission.
  • Navigate to: http://yourdomain.com/admin/appearance/styleguide and you will see a style guide for the current default theme.
  • Using the tabs at the top of the page, you can switch to viewing the style guide in any other, available theme.

Extending Style Guide

To change the list of items displayed by Style Guide, third-party modules can implement following hooks:

  • hook_styleguide()
  • hook_styleguide_alter(&$items)