Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
ghostgeek
Regular
Regular


Joined: Jan 14, 2005
Posts: 93

PostPosted: Sat Nov 12, 2005 9:28 am Reply with quote

I've found descriptions about how to move about the banner code
Code:
    if ($banners == 1) {   

    include("banners.php");


within theme.php But I really need to have it display within header.html

Is this possible?
 
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1159
Location: Sanbornton, NH USA

PostPosted: Sat Nov 12, 2005 11:56 am Reply with quote

Please remember to always identify your version of PHP-Nuke and your "patched" revision when submitting support questions.

In this case, we also need to know the name of your theme because different themes handle this differently. (Some use the theme.php, but also have code in the header.html that may vary depending on your Nuke Version).

Thanks

_________________
Steph Benoit Only registered users can see links on this board! Get registered or login!
1CMS, 100% Section 508 and W3C XHTML/CSS Compliant (Truly) 
View user's profile Send private message Visit poster's website
ghostgeek
PostPosted: Sat Nov 12, 2005 2:58 pm Reply with quote

Sorry about that. Im running 7.5 with manually applied patches here and there.

The theme i'm using is called "fiblack"
 
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sat Nov 12, 2005 8:44 pm Reply with quote

The trick I use is to output buffer the include("banners.php") part. And then put it into a variable $banners.
That way, I can use it anywhere in header.html

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
ghostgeek
PostPosted: Sun Nov 13, 2005 9:58 am Reply with quote

Can you cite an example with code samples? Thanks!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©