Welcome to Geeklog, Anonymous Friday, April 26 2024 @ 10:19 am EDT
Geeklog Forums
php in thtml files
Status: offline
eyecravedvd
Forum User
Full Member
Registered: 06/09/03
Posts: 152
You can put php into thtml files. Insure that you use the php inclusion code.
php code here
?>
Shane | www.EyeCraveDVD.com
Text Formatted Code
<?phpphp code here
?>
Shane | www.EyeCraveDVD.com
4
3
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
I believe that will only work in the header.thtml template. That is the only function that inludes an php eval function. The template class used by Geeklog does not support php in templates.
Geeklog components by PortalParts -- www.portalparts.com
Geeklog components by PortalParts -- www.portalparts.com
3
3
Quote
sornok
Anonymous
I used php in blockheader.thtml , I guess this means that its normal that php didnt work. Any way to enable it ?
3
3
Quote
Status: offline
eyecravedvd
Forum User
Full Member
Registered: 06/09/03
Posts: 152
Thanks for the update Blaine. I've only used PHP in the header.thtml and just assumed that it would work in the others.
Shane | www.EyeCraveDVD.com
Shane | www.EyeCraveDVD.com
19
2
Quote
All times are EDT. The time is now 10:19 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