Welcome to Geeklog Monday, October 14 2019 @ 02:41 am EDT

Geeklog Forums

Current topic not available on header


Status: offline

jsossaij

Forum User
Newbie
Registered: 27/04/06
Posts: 2
Hi everybody,

I need to have access to the current topic id from my header. When I use the command:

get_var( 'current_topic' ); ?>

Or

{current_topic}

in my local server header, it prints "&topic=20060428234601848", but when I upload the header to my remote server it prints only "current_topic".

Could be something with the configuration of the server? I would appreciate if someone could help me...

Thanks
Jonas



Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Have you tried $topic (in a PHP snippet, of course)?

bye, Dirk

All times are EDT. The time is now 02:41 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