Posted on: 10/14/04 11:36pm
By: RickW
Awhile back I asked for some help on tweaking the forum plugin to populate the title tag with the thread description, when viewing a thread. Since that change it's been working great.
But now I need another tweak. When I'm viewing the forum category which lists all of the threads, I want the title tag to be populated with the description of that forum. For example:
Network Associates[*1]
Support group for McAfee VirusScan.
When I click on "Network Associates", I get the page with all of the threads. On that page, I want the title tag to say "Support group for McAfee Virus Scan."
Can this be done?
Forum plugin - title tag using forum description
Posted on: 10/18/04 12:19am
By: RickW
Okay I thought I'd give this a shot, but to no prevail.
I added this line above, in the forum index.php file.
$_CONF['pagetitle'] = DB_getItem($_TABLES['gf_forums'],"forum_dscp","id=$forum");
echo COM_siteHeader();
If I do that I just get an SQL error. Not sure what I'm missing here.