Placing Ads in php portals

Status
Not open for further replies.

Doomgaze

New Member
Messages
40
Reaction score
0
Points
0
I would like to know how to place the advanced ads if the site uses a e107 template. Which file do I edit to add the ads site-wide?
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
Doomgaze said:
I would like to know how to place the advanced ads if the site uses a e107 template. Which file do I edit to add the ads site-wide?
e107 i donno i have never uised it only herd. But if there is a header.php put the add code at the top of the headder.php...
 

Doomgaze

New Member
Messages
40
Reaction score
0
Points
0
Nope. The header.php doesn't exist in the main directory, nor the themes.
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
Oh, WEll is there like anything thing like header.php or html or somthing or banner. whatever?

I'm not sure but i'm sure somone here has worked with e107 befor.
 

Doomgaze

New Member
Messages
40
Reaction score
0
Points
0
It's not working too well. When I add the text banner codes, the site gets an error when loading from the edited theme.php.
 

Doomgaze

New Member
Messages
40
Reaction score
0
Points
0
CRITICAL_ERROR:
Line 378 /backup/home/shadowfi/public_html/main/class2.php

Error reported as: Unable to find file: e107_themes/templates/header.php
CRITICAL_ERROR:
Line 379 /backup/home/shadowfi/public_html/main/class2.php

Error reported as: Unable to find file: e107_themes/templates/footer.php

So then I made a copy and renamed the footer/header_default to the listed missing, and it worked to an extent. The background changed to a greenish color, which was the background color for the theme. But this appeared in place of the main page:

Fatal error: Call to undefined function: tablestyle() in /backup/home/shadowfi/public_html/main/class2.php on line 279

At least the text ad works. But this still needs to be fixed...
 
Last edited:
Status
Not open for further replies.
Top