2007-03-17, 12:42 PM
Pages: 1 2
2007-03-17, 01:13 PM
Create a new global template called portal_adv for example with the following
Now in portal template add {$adv} anywhere you want below {$latestthreads} for example
now open portal.php
find
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="thead"><strong>Adv</strong></td></tr>
<tr><td class="trow1">
<!-- CONTENT HERE -->
</td></tr>
</table><br />
Now in portal template add {$adv} anywhere you want below {$latestthreads} for example
now open portal.php
find
eval("\$portal = \"".$templates->get("portal")."\";");
above it addeval("\$adv = \"".$templates->get("portal_adv")."\";");
2007-03-17, 01:30 PM
ok how do a make a global template
Thanks for your help so far i dont know what i'd do without all your help
Thanks for your help so far i dont know what i'd do without all your help
2007-03-17, 01:36 PM
Admin Control Panel > (Left hand panel) Templates > Modify / Delete > Global Templates > Expand
Dr Small
Dr Small
2007-03-17, 01:40 PM
Dr Small Wrote:Admin Control Panel > (Left hand panel) Templates > Modify / Delete > Global Templates > Expand
Dr Small
Actually there is no need to expand there is an add template button next to the expand button
spikescot2005 your welcome
2007-03-17, 01:42 PM
ya ya, i noticed that once I posted... but he got the general idea....
Dr Small
Dr Small
2007-03-17, 01:51 PM
it worked thanks but in the header bit (tittle of the box) it says Adv how can i make that say Advertisments. EDIT: Worked that bit out
And can i centre the adverts.
And can i centre the adverts.
2007-03-17, 02:01 PM
hmm.. it is simply modifying the new template
see where it says Adv? type Advertisments.
To center the ads.. just put them between a div like this
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="thead"><strong>Adv</strong></td></tr>
<tr><td class="trow1">
<!-- CONTENT HERE -->
</td></tr>
</table><br />
see where it says Adv? type Advertisments.
To center the ads.. just put them between a div like this
<div align="center">CONTENT HERE</div>
2007-03-17, 02:15 PM
Thank you very much for your help after loosing everything is getting back together now and looking better then ever.
Just one more question - I have just recieved an email about a sponsor for my site (very excited now) who will pay me to put there banner on all of my forum pages. I would like it to be at the bottom of the forum just above the contact us ect. in a box with a header ''Site Sponsored by...'' and then there banner would be in the center of that box.
Just one more question - I have just recieved an email about a sponsor for my site (very excited now) who will pay me to put there banner on all of my forum pages. I would like it to be at the bottom of the forum just above the contact us ect. in a box with a header ''Site Sponsored by...'' and then there banner would be in the center of that box.
2007-03-17, 02:41 PM
At the top of the footer template add
<div align="center"> CONTNET HERE</div>
Pages: 1 2