[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/skinr/help/ -> features.html (source)

   1  <p><code>[features]</code> are an optional Skinr setting. They do not need to be
   2    specified. By default Skinr will assume that your styles can be used anywhere
   3    Skinr is available on your site, i.e. nodes, blocks, etc. If you want to
   4    reduce UI clutter and have more fine grained control over where your skins are
   5    used, you'll want to use the <code>[features]</code> option.
   6  </p>
   7  <p>The <code>[features]</code> setting is the equivalent of the high level
   8    Drupal theme hook. If nothing is specified in your skin it will appear
   9    everywhere by default. It may only contain underscores. By specifying a
  10    <code>[features]</code> you are telling Skinr: Only show this skin when
  11    editing X.
  12  </p>
  13  <p>Below is a listing of available options, by module:</p>
  14  
  15  <h3>Blocks</h3>
  16  <pre>
  17  skinr[skin_system_name][features][] = block
  18  skinr[skin_system_name][features][] = block_[module]
  19  </pre>
  20  
  21  <h3>Comments</h3>
  22  <pre>
  23  skinr[skin_system_name][features][] = comment_wrapper
  24  skinr[skin_system_name][features][] = comment_wrapper_[node_type]
  25  </pre>
  26  
  27  <h3>Nodes</h3>
  28  <pre>
  29  skinr[skin_system_name][features][] = node
  30  skinr[skin_system_name][features][] = node_[node_type]
  31  </pre>
  32  <em class="marker">Note: node_[node_type] is not yet implemented.</em>
  33  
  34  <h3>Page (body classes)</h3>
  35  <pre>
  36  skinr[skin_system_name][features][] = page
  37  </pre>
  38  
  39  <h3>Panels</h3>
  40  <pre>
  41  skinr[skin_system_name][features][] = panels_pane
  42  skinr[skin_system_name][features][] = panels_panel
  43  </pre>
  44  
  45  <h3>Views</h3>
  46  <pre>
  47  skinr[skin_system_name][features][] = views_view
  48  skinr[skin_system_name][features][] = views_view__[style_name]
  49  skinr[skin_system_name][features][] = views_view__[display_name]
  50  skinr[skin_system_name][features][] = views_view__[view_name]
  51  skinr[skin_system_name][features][] = views_view__[view_name]__[display_name]
  52  </pre>
  53  <em class="marker">Note: views_view__[style_name] is not yet implemented.</em>


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7