FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » How to show topic title in last message info on index?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
How to show topic title in last message info on index? [message #23199] Tue, 08 March 2005 22:05 Go to next message
kenric is currently offline  kenric   United States
Messages: 3
Registered: March 2005
Karma: 0
Junior Member
Hi,
I would like to show the name of topic that goes with the last message in the last post entry on the forum table on the index page. I can't find a comprehensive list of variables/templates and randomly plugging in message related template data is not doing anything. Does anyone know how to do this?


Thanks!


-km
Re: How to show topic title in last message info on index? [message #23204 is a reply to message #23199] Tue, 08 March 2005 23:15 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to modify the query in thread.php.t to retrieve it.

FUDforum Core Developer
Re: How to show topic title in last message info on index? [message #23205 is a reply to message #23204] Tue, 08 March 2005 23:24 Go to previous messageGo to next message
kenric is currently offline  kenric   United States
Messages: 3
Registered: March 2005
Karma: 0
Junior Member
Sorry, I am new to php. I understand how to insert the variable once it is available, but where and to what do I change the query? This is in thread.php, correct?
Re: How to show topic title in last message info on index? [message #23206 is a reply to message #23205] Tue, 08 March 2005 23:37 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to edit thread.php.t (template source), the thread.php is the generated file.

FUDforum Core Developer
Re: How to show topic title in last message info on index? [message #23224 is a reply to message #23206] Wed, 09 March 2005 15:24 Go to previous messageGo to next message
kenric is currently offline  kenric   United States
Messages: 3
Registered: March 2005
Karma: 0
Junior Member
OK. I get it now. So what is the name of the value that I am adding to the query?
Re: How to show topic title in last message info on index? [message #23225 is a reply to message #23224] Wed, 09 March 2005 16:22 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
subject from message table.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Blocked
Next Topic: Moving quicklogin to header template
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 01:20:44 GMT 2024

Total time taken to generate the page: 0.02458 seconds