Okay,
I want to enable the portal but don't want to pull posts that appear on the portal from any forum but instead, where the posts would normally appear, I want to insert a custom island with headlines pulled from my news script.
What file(s) do need to edit so I can insert this on the portal only?
I believe you'd be editing /templates/default/portal.tpl
You'd just scrap pretty much everything in there and replace it with your stuff.
The code that relates to that template is /scripts/portal.inc.php
Hmmm
I input this:
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
<tr>
<td align="right" valign="bottom" width="15" height="15"><img src="/gifs/gen_r-panela.gif" width="15" height="15" alt="[i]" name="gen_r-panela.gif"></td>
<td background="/gifs/gen_r-panelb.gif" align="center" valign="bottom" height="15"></td>
<td width="15" align="left" valign="bottom" height="15"><img src="/gifs/gen_r-panelc.gif" width="15" height="15" alt="[i]" name="gen_r-panelc.gif"></td>
</tr>
<tr>
<td background="/gifs/gen_r-paneld.gif" width="15" align="right" valign="top"> </td>
<td align="left" valign="top" background="/gifs/gen_panelbg.gif">
<table width="100%" class="t_inner" cellpadding="0" cellspacing="1" bgcolor="#121218">
<tr>
<td class="tdheader"> Latest Headlines</td>
</tr>
<tr>
<td class="alt-1" valign="top">
<?php
include("/home/www/hosts/www.mydomain.co.uk/mydir/my.txt");
?>
</td>
</tr>
</table>
</td>
<td background="/gifs/gen_r-panele.gif" width="15" align="left" valign="top"> </td>
</tr>
<tr>
<td width="15" align="right" valign="top" height="15"><img src="/gifs/gen_r-panelf.gif" width="15" height="15" alt="[i]" name="gen_r-panelf.gif"></td>
<td background="/gifs/gen_r-panelg.gif" align="left" valign="top" height="15"> </td>
<td width="15" align="left" valign="top" height="15"><img src="/gifs/gen_r-panelh.gif" width="15" height="15" alt="[i]" name="gen_r-panelh.gif"></td>
</tr>
</table>
But get (see attached file) only the html and not
<?php
include("/home/www/hosts/www.mydomain.co.uk/mydir/my.txt");
?>
What have I done wrong?
You must use {php} and {/php} instead of