Just like this
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="thead"><strong>Site Sponsor</strong></td></tr>
<tr><td class="trow1">
<div align="center"> CONTENT HERE</div>
</td></tr>
</table><br />
Thanks for all your help i couldn't have done it without you
ok i tried to add another set of adverts to the portal but the second set doesn't show up.
I made a new globel template
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="thead"><strong>Advertisements</strong></td></tr>
<tr><td class="trow1">
<!-- SCRIPT HERE -->
</td></tr>
</table><br />
I put in the portal template {$adv2} after {$adv} but i think it has something to do with the portal.php
eval("\$adv = \"".$templates->get("portal_adv2")."\";");
eval("\$adv = \"".$templates->get("portal_adv")."\";");
The bits that i have added.
spikescot2005 Wrote:eval("\$adv = \"".$templates->get("portal_adv2")."\";");
eval("\$adv = \"".$templates->get("portal_adv")."\";");
eval("\$portal = \"".$templates->get("portal")."\";");
eval("\$adv = \"".$templates->get("portal_adv")."\";");
&
eval("\$adv2 = \"".$templates->get("portal_adv2")."\";");
I think =P
what about them, what do i need to change
yes as lex said.. also make sure you called the new template
portal_adv2
eval("\$adv = \"".$templates->get("portal_adv2")."\";");
should be
eval("\$adv2 = \"".$templates->get("portal_adv2")."\";");
and please spikescot2005 remove the portal.php code from your post. it is TOOOOOOOOOOO long attach the file next time.
Have removed it, And thanks it worked