Jump to content

Download: Topic Only Block


Jinkler

Recommended Posts

Posted

File Name: Topic Only Block

File Submitter: Jinkler

File Submitted: 19 Nov 2010

File Category: IP.Content Blocks

Supported Versions: IP.Content 2.1.x, IP.Content 2.2.x, IP.Content 2.3.x



This file demonstrates how to have a block which only shows the Topic titles from a forum feed. All the guff has been stripped out.

Simply use the text below:

<div class='general_box'>

        <h3>{$title}</h3>

        <ul class='hfeed'>

                <if test="is_array( $records ) && count( $records )">

                {parse striping="feed_striping" classes="row1,row2 altrow"}

                <foreach loop="$records as $r">

                <li class='hentry {parse striping="feed_striping"}'><a href='{$r['url']}' rel='bookmark' title='{$r['title']}'>{$r['title']}</a>



</li>

                </foreach>

                </if>

        </ul>

</div>

<br />



Click here to download this file

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...