Welcome to Geeklog, Anonymous Wednesday, December 11 2024 @ 03:40 am EST
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.
- 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.
13
14
Quote
All times are EST. The time is now 03:40 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