module_invoke & taxonomy

feeper - October 31, 2009 - 01:44

I am using module_invoke to show various blocks in my template. I am slightly confused by something. In this case I am using these blocks to show taxonomy items. My question is this. Is it possible to show more than one taxonomy article in a block? I am only showing the the name of the taxonomy block and the subject of the article.

Example:

<div class="second_title_bar">
   <div class="second_title_bar_text">
      <?php
         $block
= module_invoke('taxonomy_block', 'block', 'view', 21);
     print
$block['subject']; ?>

   </div>
</div>
<div class="second_menu_background">
   <div class="second_menu_content">
    <?php print $block['content']; ?>
   </div>
   <div class="separator_menu_bar"></div>
</div>

The above shows this:

Chapters<$block['subject']>
Edmonton Chapter<$block['content']>
more

Instead of it going right to 'more', I want to show at least 5 'content' items and then more if there are any more. Is this possible?

 
 

Drupal is a registered trademark of Dries Buytaert.