Is it possible to add a script to the advanced guestbook templates...either header.php, body.php or footer.php? I'd like to add an image scroller to the page and have tried using includes but it doesn't work...so I'm guessing the answer to my question is no...but I thought I'd ask anyway
16/05/2005 03:26:10
Subject:
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
I'm guessing you mean Javascript in which case yes. You just need to copy the code into the relevant template file(s).
Carbonize I am not the maker of the Advanced Guestbook
no, I meant include a separate php script file. It's an image scroller script that pulls thumbnails from Coppermine Photo Gallery. I've tried <? include('myscript.php'); ?> as well as entering the entire code at the top of the header.php and body.php files.
It doesn't get parsed (I believe that's the right term). I can see the code (<? include('myscript.php')> when I view the page source.
16/05/2005 03:50:57
Subject:
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
It is possible I'm just to tired to think of it right now. You'd basically have to merge the thumbnail script into the guestbook and turn the result into a variable to be processed as part of the template.
Carbonize I am not the maker of the Advanced Guestbook