ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Discussion Forum Templates - Any help resources?

January 07, 2012 6:30am

Subscribe [3]
  • #1 / Jan 07, 2012 6:30am

    textdriven

    107 posts

    I’m working on a support forum with the discussion forum module but I don’t see any tag lists for the template system it uses. Are there any resources?

    Also how can I display a list of the most recent topics from all forums on the forum homepage (not a normal EE page)?

  • #2 / Jan 07, 2012 7:03am

    Enviromed

    375 posts

  • #3 / Jan 07, 2012 11:01am

    handyman

    509 posts

    On my front page
    http://www.hearth.com

    you will notice I pull some topics from my EE (1.x) forum…...

    I use php to pull in a EE template.

    The php is something like this:

    <?php
    $homepage = file_get_contents('http://www.hearth.com/econtent/index.php/eecategory/yourtemplate/');
    echo $homepage;
    ?>

    And the template you call from EE is something like this:

    <table>
    {exp:forum:topic_titles orderby="recent_post" sort="desc" limit="5" cache="yes" refresh="1"}
    <tr>
    <td><font size="-1" face="Arial, Helvetica, sans-serif"><a href="http://{thread_path=forums/viewthread}">{title}</a></font></td>
    <td><font size="-2" face="Arial, Helvetica, sans-serif"> {last_post_relative_date} ago
    </font>
    </tr>
    {/exp:forum:topic_titles}
    </table>

    I don’t think the Forum is documented - at least in past years we were not able to get such docs.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases