Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 12:05 pm EST

Geeklog Forums

Forum plugin - title tag using forum description


Status: offline

RickW

Forum User
Full Member
Registered: 01/28/04
Posts: 240
Location:United States
hungry2
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
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?
www.antisource.com
 Quote

Status: offline

RickW

Forum User
Full Member
Registered: 01/28/04
Posts: 240
Location:United States
Okay I thought I'd give this a shot, but to no prevail.

I added this line above, in the forum index.php file.

Text Formatted Code
$_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.
www.antisource.com
 Quote

All times are EST. The time is now 12:05 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content