Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 01:55 am EST

Geeklog Forums

Dynamic title tags with forum plugin


Status: offline

RickW

Forum User
Full Member
Registered: 01/28/04
Posts: 240
Location:United States
sleepy
I would like to populate my title tag with whatever is the subject of the thread I am in. How do I do this?
www.antisource.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Here is a hack I made some time ago.

bye, Dirk
 Quote

Status: offline

RickW

Forum User
Full Member
Registered: 01/28/04
Posts: 240
Location:United States
full
Thank you dirk, you rock.

What can I do additionally so the title tag gets the name of the subforum I am in, prior to entering a thread? I know it is going to be a similar statement inserted in the index.php of the forum directory - not sure what tables to pull from in the database or the optimal place to put the code. And not sure how that would affect the main index.php. If I could, if I'm at the root of index.php then I would like to load the title tag with a variable defined in the config.php. That way I have a custom title for my main forum page.
www.antisource.com
 Quote

All times are EST. The time is now 01:55 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