Welcome to Geeklog, Anonymous Tuesday, December 24 2024 @ 09:10 pm EST
Geeklog Forums
php in header
JamesL
Anonymous
Is it possible to reference php in the header. I should mention I using the smooth blue 1.41 theme with geeklog 1.4 and I'm wanting to replace the image/title in the header with a banner than rotates on reload. For this I'm using a php script swapping out
<img src="{layout_url}/interface/logo_staumc.gif" alt="" border="0" align="left">
<div class="header1">{site_name}</div>
<div class="header2">{site_slogan}</div>
</td>
from the defeault header.thtml for
<img src="{site_url}/images/STAUMC/banner/rotate.php" border="0" align="center">
</td>
I know rotate.php works on it's own but it will not display in the header. Any help much appreciated. James
Text Formatted Code
<td class="main-mid" width="100%" align="right" nowrap="nowrap"><img src="{layout_url}/interface/logo_staumc.gif" alt="" border="0" align="left">
<div class="header1">{site_name}</div>
<div class="header2">{site_slogan}</div>
</td>
from the defeault header.thtml for
Text Formatted Code
<td class="main-mid" width="100%" align="center" nowrap="nowrap"><img src="{site_url}/images/STAUMC/banner/rotate.php" border="0" align="center">
</td>
I know rotate.php works on it's own but it will not display in the header. Any help much appreciated. James
12
11
Quote
JamesL
Anonymous
15
7
Quote
JamesL
Anonymous
*here http://www.staumc.co.uk/images/STAUMC/banner/rotate.php
10
9
Quote
JamesL
Anonymous
duh! the problem was actually the firefox adblock plugin. Thanks for the help
10
8
Quote
All times are EST. The time is now 09:10 pm.
- 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