Welcome to Geeklog, Anonymous Wednesday, April 24 2024 @ 07:20 am EDT

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 EDT. The time is now 07:20 am.

  • 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