Menu

#1 Adding an include in master tpls

open
nobody
None
5
2003-05-03
2003-05-03
Anonymous
No

Mediatech over at pnapi mentioned I should try here at the
sourceforge for a potential answer to my question/problem.
Let me say the mans been great in helping me xanthia.

I'm trying to add a simple file include into the master.tpl files
so that I can have some content appear on everypage. I
simply added the include statement as followss:
[code]<!-- Begin Main Content -->

<table border="0" width="100%" cellspacing="2"
cellpadding="4">

<tr>
<td valign="top" align="center" width="100%">

<?php include "football/2003./week_menu.php" ?>
[-$CENTERBLOCKS-]
[-$MAINCONTENT-]

</td>

<!-- Begin Dotted Line -->
<td width="10" background="[-$IMAGEPATH-]/line.gif">
<img src="[-$IMAGEPATH-]/pixel.gif" width="10"
height="10" border="0" alt="" />
</td>
<!-- End Dotted Line -->[/code]

Now, I know the include statement works just fine, as I can
just make a dummy file of that command, call it and have it
work. But I can't seem to get this to work when i add it into
the tpl files. Any ideas how this is done?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.