Welcome to Geeklog, Anonymous Saturday, November 30 2024 @ 02:26 am EST

Geeklog Forums

Run PHP code in the template files?


Status: offline

RickW

Forum User
Full Member
Registered: 01/28/04
Posts: 240
Location:United States
I have a custom php routine in my header.thtml file that works great. I tried to add some php to my footer file, but it won't parse out, and then I noticed it's the same for other template files (besides the header). Is there any way for me to get php to run in these files? Maybe some geeklog variables to wrap it in?
www.antisource.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Geeklog only supports PHP in header.thtml. You would have to hack COM_siteFooter if you want to use PHP in footer.thtml

bye, Dirk
 Quote

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