FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Modifying Templates
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Modifying Templates [message #9563 is a reply to message #8764] Wed, 09 April 2003 23:45 Go to previous messageGo to previous message
Sergey is currently offline  Sergey   United States
Messages: 41
Registered: January 2003
Karma:
Member
prottoss wrote on Fri, 21 February 2003 16:53

Each templetable file consists of 2 files
.tmpl file, which contains the HTML and the .php.t or .inc.t file which contains the source. If you want to include a PHP file you can either modify existing .php.t or inc.t file and put include "your_file_name.php" or you need to make a template, in which case refer to existing examples.


Can I ask where I can put php include in *.php.t file.

For example I have index.php.t

<?php
....
{PRE_HTML_PHP}
....
{POST_HTML_PHP}
.....
{POST_PAGE_PHP_CODE}
?>
{TEMPLATE: INDEX_PAGE}

and I want to include

<?php include("some_file.php"); ?>

Where I can put this statement inside index.php.t ?

Thank you.



-------------------
"If you really want something in this life you have to work for it.
Now quiet, they're about to announce the lottery numbers."
Author: Homer Simpson.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to change topic sorting?
Next Topic: Backup message attachments?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 04:32:22 GMT 2024

Total time taken to generate the page: 0.04149 seconds