Skip to content

Instantly share code, notes, and snippets.

@lslinnet
Created January 10, 2011 09:19
Show Gist options
  • Save lslinnet/772567 to your computer and use it in GitHub Desktop.
Save lslinnet/772567 to your computer and use it in GitHub Desktop.
<?php
// $Id$
?>
<?php if($content->module == "nodequeue") : ?>
<?php foreach ($content->content as $article) : ?>
<div class="article article-with-teaser-large <?php print $content->css_class; ?>">
<?php
$options = array(
// array('type' => 'image', 'preset' => mjm_get_preset($content->css_class)),
array('type' => 'title', 'element' => 'h2', 'link' => TRUE),
array('type' => 'tag',),
array('type' => 'summary', 'link' => TRUE),
array('type' => 'plainhtml', 'html' => ' '),
array('type' => 'read_more'),
array('type' => 'related', 'rel_count' => 2,),
);
$html = utility_l(theme('news_article_image', array('preset' => mjm_get_preset($content->css_class)));
$html .= theme('news_article', $article, $options);
?>
<?php print $html; ?>
</div>
<?php endforeach; ?>
<?php endif ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment