Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

Re: [shiner] List of threads on home page

Quote Reply
Re: [shiner] List of threads on home page In reply to
Sure.

I created a separate template set so I could call it from the url, say: new_set.

then in the view_forum template for that set I deleted the enitire template and insterted something like:

<%post_loop%>
<a href="#"><%post_subject%></a>
<%post_loop%>

of course you will want to use formating appropriat to your site. In my instance I used block level CSS2, but you could use tables or what not too.

if you want to add the body of the post then you would add some thing like:

<%post_loop%>
<a href="#"><%post_subject%></a>
<p><%post_message%></p>
<%post_loop%>

I didn't end up shortening the message becaue I had to, in the end, write my own database calls to achive the controll I wanted.

however for those areas that I did use the template set I would call the forum with the folowing PHP include:

<?php include("http://www.gforum-url-goes-here.com/cgi-bin/gforum.cgi?forum=XX;t=new_set;mh=YY"); ?>

where XX = the forum id number
and YY = the number of threads to return form the fourm.

does that help?
Subject Author Views Date
Thread List of threads on home page hunthost 6084 May 23, 2002, 12:29 PM
Thread Re: [hunthost] List of threads on home page
hunthost 5976 May 23, 2002, 3:46 PM
Thread Re: [hunthost] List of threads on home page
ellipsiiis 5970 May 23, 2002, 4:52 PM
Thread Re: [ellipsiiis] List of threads on home page
hunthost 5947 May 23, 2002, 6:04 PM
Post Re: [hunthost] List of threads on home page
yogi 5904 May 27, 2002, 12:22 AM
Thread Re: [hunthost] List of threads on home page
shiner 5859 May 31, 2002, 6:47 PM
Thread Re: [shiner] List of threads on home page
hunthost 5873 May 31, 2002, 9:24 PM
Post Re: [hunthost] List of threads on home page
shiner 5855 May 31, 2002, 9:30 PM