D7 Theming

From Things and Stuff Wiki
Revision as of 08:42, 15 November 2012 by Milk (talk | contribs) (→‎Templates)
Jump to navigation Jump to search


Basics

Theme development modules

Backwards compatibility

Layout

Various different methods

Views
Nodequeue
Blocks
Panels
Context
Spaces

Templates

  • etc.

block

<div id="block-<?php print $block->module . '-' . $block->delta; ?>" class="<?php print $classes; ?> " <?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if ($block->subject): ?>

<?php print $block->subject ?>

<?php endif;?>
<?php print render($title_suffix); ?>

<div class="content"<?php print $content_attributes; ?>>
<?php print $content ?>