>>
Site Map
>>
Forums
>>
Themes 6x
Forum module - topics in forum:
Themes 6x - Discussions regarding PHP-Nuke Themes.
Banner from Bottom to Top
How can I move the Banners showing on the bottom of my theme NFSU to the Top ?
www.jap-heaven.com
There are lots of topics explaining about moving banners on the site already.
http://phpnukies.org/modules.php?name=Forums&file=viewtopic&t=2005&highlight=move+banners
Have a search if that doesnt help there are quite a few covering this.
Seen those ones but will 7.0 be the same as 6.8 ?
Yep the banner system hasnt changed still works off $banners
Works on mine and its 7.5
I edited the theme.php and could not find banners.php in it but copied what was on one of the posts and it worked but only problem, this is what comes on the bottom of the page :
| Quote: : |
| Fatal error: Cannot redeclare viewbanner() (previously declared in /home/wwwjap-h/public_html/banners.php:22) in /home/wwwjap-h/public_html/banners.php on line 21 |
banners.php
| Quote: : |
function viewbanner() {
global $prefix, $db, $admin, $sitename, $adminmail, $nukeurl;
$numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'")) |
Thats the line its showing
have you removed it from your footer seen as it was in there i nthe first place
Just did mate
Thank you very much 
Now that I have it moved up there and that errors gone, how do I move it in to where it has Home / features etc across on the right hand side and have the scrolling bar stay underneath as it already is ?
Post the section of code that is dealing with your banners