Hello. I have all the items noted in the Readme and watch the MustardSeed video. All the files look good and/or have been created except for the themes block.tpl.php looks nothing like the examples used. I created a new style called "newsstyle" but can not figure out how to make it work in my new block--blocktheme--newsstyle.tpl.php file. I'm not sure where to insert "newsstyle". Thank you for your time!

<?php 
/**
 * @file
 * Alpha's theme implementation to display a block.
 */
print $attributes; newsstyle>
print render($title_prefix);
if ($block->subject):

print $title_attributes; > print $block->subject;

endif;

print render($title_suffix);

print $content_attributes; >
print ("Yup, block--blocktheme--newsstyle.tpl.php")
print $content

?>

Comments

maine_inventor’s picture

<?php 
/**
 * @file
 * Alpha's theme implementation to display a block.
 */
?>
<div<?php print $attributes; ?>newsstyle>
  <div class="block-inner clearfix">
	<?php print render($title_prefix); ?>
    <?php if ($block->subject): ?>
      <h2<?php print $title_attributes; ?>><?php print $block->subject; ?></h2>
    <?php endif; ?>
    
    <?php print render($title_suffix); ?>
    
    <div<?php print $content_attributes; ?>>
    <?php print ("Yup, block--blocktheme--newsstyle.tpl.php") ?>
           <?php print $content ?>
    </div>
  </div>
</div>
maine_inventor’s picture

Status: Active » Closed (works as designed)

Resolved. Rewrote the

builder to use the $blocktheme var.
thank you