Welcome to Geeklog, Anonymous Thursday, April 25 2024 @ 07:05 am EDT

Geeklog Forums

PHP in footer.thtml sortof


Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Haven't tried this but I don't see why it wouldn't work:

- throw your PHP into the header.thtml to be eval'd
- make sure the output is inside its own div in your header.thtml
- in your style sheet, set that div's position absolute (by way of a class definition and its corresponding CSS rule), which means that you can place that div anywhere on the page you want, including near the bottom of the page--you just need to make room for it because it will be "out" of the document flow..

See your local CSS reference sheet for how to set absolute positions.
 Quote

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