View Full Version : PHP Include for the template?
Anonymous
07-22-2005, 11:25 AM
Hi, since I am using php include to make up my site design... is it possible to use the same method for the links directory as design well? Ya know... by phpinclude I mean the header and footer are both files... and I just include them in the templates.
So is this possible? Or there are any other way of me doing it? Thanks in advance.
yktan
07-22-2005, 01:30 PM
Hi Rey, you can try putting a code like this in the template where you want to include a php script:
Content visible to registered users only.
I'm not sure if it will work find for you, some users reported that it doesn't work for them (they it works for me).
Regards,
YK
trailblaza
07-22-2005, 03:28 PM
any php code needs to be put inside the following tags...
{php} {/php}
lj.
Anonymous
07-23-2005, 04:32 AM
Does not work... this is the code I want to put in...
Content visible to registered users only.
Anyone know how to do it?
Anonymous
07-23-2005, 04:33 AM
Does not work... this is the code I want to put in...
Content visible to registered users only.
Anyone know how to do it?
trailblaza
07-25-2005, 05:18 PM
replace <?php with {php}
and ?> with {/php}
lj.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.