Re: using php within a php generated template
- From: "AlmostBob" <anonymous1@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 04 May 2007 01:42:45 GMT
just got to read the script refferred to in the op at zinkwazi, the
templates are strictly html and place markers, how the markers are handled
is determined by phpslideshow.php. to add php functions to the template
pages TRY rename them to .php, and editt the slideshow.php file to refer to
template.php instead of template.html
a rough n ready try out worked, added a date function.
--
If at first you dont succeed
try try try again
If at first you do succeed
try not to look surprised
_
<acruse@xxxxxxxxx> wrote in message
news:1178237329.712710.263930@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
what you describe is indeed what i'm trying to accomplish. i know
includes *should* work, however they don't. the only thing i can think
of is if there is a different syntax used for calling a php function
from within a template file. i'm using the normal way (and it's not
working). even when i rewrite the php document to write the header and
footer as part of the template file (i.e. not an include), the php
functions (that are part of a menu) are still not parsed. i'm pretty
frustrated with it, so any suggestions are much appreciated.
/aaron
.
- Follow-Ups:
- Re: using php within a php generated template
- From: acruse
- Re: using php within a php generated template
- From: acruse
- Re: using php within a php generated template
- References:
- Re: using php within a php generated template
- From: acruse
- Re: using php within a php generated template
- Prev by Date: Re: [PHP] MySQL change-tracking
- Next by Date: Re: Deviation? Distribution? OT?
- Previous by thread: Re: using php within a php generated template
- Next by thread: Re: using php within a php generated template
- Index(es):
Relevant Pages
|