Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 0
SyntaxHighlighte... 41
Newsletters v4.03 102
Facebook Like Box 113
Newsletters v4.02 55
Metro 143
Facebook Connect 160
Shoutbox Panel 120
Redactor for PHP... 102
MI Floating Side... 105
Facebook Login/R... 146
Avatar Studio v2.03 174
Relationship Sta... 92
Sexual Orientati... 110
Fisherman 132
Popular Addons
iTheme2 5788
Arise 5776
User Control v1.23 4608
Event Calendar 4035
Photowidget panel 3878
Radio-Theme red2... 3342
Highslide Gallery 3305
CSS/JavaScript D... 3217
Facebook Connect... 2971
Dynamic Menu 2885
Slideshow Lightb... 2711
L-AMANT 2654
Enigma 2626
2Dark 2601
Black 2564
View Thread
Official Home of PHP-Fusion » General Addon and Modification Support » Themes Support
Who is here? 1 guest(s)
 Print Thread
Banners in theme
Jack Daniels
Hi, I use Fusionist theme and I was wandering if there is a posseble to change where the banners shows on the theme.

I use two colum system and wold like banner-1 to show under the head news above the two colums.

You can see my page at http://linuxvefur...
 
http://linuxvefurinn.is
NetriX
Only tested on v7.01.05 so beware.

Edit your news.php file.

At or around line 117 it should look like.

Download source  Code
if ($settings['news_style'] == "1") {
         opentable($locale['global_077']);
         echo "<table cellpadding='0' cellspacing='0' style='width:100%'>\n<tr>\n<td colspan='3' style='width:100%'>\n";
         echo $news_[0];
         echo "</td>\n</tr>\n<tr>\n";
         global $settings;
         if ($settings['sitebanner1']) {
         eval("?><td style='width:100%;vertical-align:top;' colspan='3'><div style='text-align:center;'>".stripslashes($settings['sitebanner1'])."</div></td></tr>\n<?php ");
         }
         echo "<tr>\n<td style='width:50%;vertical-align:top;'>\n";
         echo $news_[1];
         echo "</td>\n<td style='width:10px'><img src='".get_image("blank")."' alt='' width='10' height='1' /></td>\n<td style='width:50%;vertical-align:top;'>\n";
         echo $news_[2];
         echo "</td>\n</tr>\n</table>\n";
         closetable();
      }




Tested and working

Demo: http://demo.phpfu...
Edited by NetriX on 26-03-2011 23:02
PHPFusionMods.com - Serving PHP-Fusion addons since 2007.

www.php-fusion.co.uk/infusions/addondb/img/approved_dev.png
 
http://www.phpfusionmods.com
Jack Daniels
Did not work on my site. Just get errors.
 
http://linuxvefurinn.is
NetriX
Are you using v7.01.05? And what errors exactly?
PHPFusionMods.com - Serving PHP-Fusion addons since 2007.

www.php-fusion.co.uk/infusions/addondb/img/approved_dev.png
 
http://www.phpfusionmods.com
Jack Daniels
Yes I'm using v7.01.05 and the error was unexpecting } in file and when I took that out I just get more errors.
 
http://linuxvefurinn.is
Jack Daniels
Got this working but now its a problem I can't find out cause when I set in banner the logo wipes out and the banner takes over in the header.

Have read and change the names and code and can't find out how I can get rid of it and hold the logo and banner on the site.

The script in the theme.php ( does not matter what theme) can be the problem, not sure about it.

Line; 50 in the Fusionist theme is;
echo "<td align='center' class='full-header'>\n".showbanners()."</td>\n";

Think .showbanners() is the problem but cant fix it.
 
http://linuxvefurinn.is
Craig
Since your talking about Banners have you had a look at this new Banner Tutorial how to use the Built in Banner System.

It's worth a read...

http://www.php-fu...icle_id=41
 
http://www.fusiontube.co.uk/
Jack Daniels
Look at that, thanks man.

Merged on Apr 24 2011 at 09:36:05:
Ok sorry but this is not working for me.
The problem is that when I set banner one in it appears on the topbanner where the logo of the page is and take it over and that is not what I had in mind.

How can I get rid of the banner in the head? In other case it Works fine in beatwean news 1 and 2.
Edited by Jack Daniels on 24-04-2011 08:36
 
http://linuxvefurinn.is
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Theme Ddraig Themes Support 3 15-05-2013 19:11
Check theme before setting it Roadmap 1 09-05-2013 15:14
Theme Control Panel Content Administration 2 08-05-2013 13:19
Atom Theme Engine Framework Roadmap 4 04-05-2013 16:53
Possible Theme General Discussion 5 18-04-2013 08:48
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue