You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 161 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Including a PHP File in Index [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
HardTrancid
Nuke Soldier
Nuke Soldier


Joined: Oct 02, 2003
Posts: 34

Location: Canada

PostPosted: Thu Nov 01, 2007 12:40 pm Reply with quoteBack to top

Hello, hopefully this is not too confusing. What I am trying too accomplish is embed a PHP File in the main body of my Nuke page, right above the news articles or even in between them..... I have found that using
include("path/file.php"); will indeed pop the code up, but it shows up at the very top of my Index page.... How can I position this too the place I want, I cannot find any files that reference the news articles so I can put them above the articles on the site. I have a php script that shows the listeners and current song for our radio and would like it to be embedded in the body of the default page for Nuke. Thank you! Laughing

_________________
Hard Trancid
The Bassline Cartel
http://www.thebasslinecartel.com
Find all posts by HardTrancidView user's profileSend private messageVisit poster's websiteICQ Number
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 561


PostPosted: Fri Nov 02, 2007 4:10 am Reply with quoteBack to top

When you say "default Nuke page", do you mean for only the Home page?

If not, you could place the code in the theme file, just before the call for blocks(left);

If you want to put it before or after the message_box(); look in the header.php file.

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
HardTrancid
Nuke Soldier
Nuke Soldier


Joined: Oct 02, 2003
Posts: 34

Location: Canada

PostPosted: Fri Nov 02, 2007 9:06 am Reply with quoteBack to top

If someone could take a look at my site and tell me how to get it too lineup properlly I would really really appreciate it. =) I've added include("shout/multi-server-stats.php"); to the bottom of the function themeheader() { , in theme.php See how the menu on the left is now not lined up, would like to fix that. Thanks! (See my signature for our website address)

_________________
Hard Trancid
The Bassline Cartel
http://www.thebasslinecartel.com
Find all posts by HardTrancidView user's profileSend private messageVisit poster's websiteICQ Number
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 561


PostPosted: Sat Nov 03, 2007 3:00 am Reply with quoteBack to top

Have you thought of using a different theme? There are hundreds out there, and I would think some of them would not have the issue you are now having.

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
HardTrancid
Nuke Soldier
Nuke Soldier


Joined: Oct 02, 2003
Posts: 34

Location: Canada

PostPosted: Sat Nov 03, 2007 9:49 am Reply with quoteBack to top

I managed to fix the issue, and the code works quite nicely! The way I fixed this probelm, was I removed the CSS! I didn't realize but the code had its own CSS and it was interfering with the Nuke one. Laughing

_________________
Hard Trancid
The Bassline Cartel
http://www.thebasslinecartel.com
Find all posts by HardTrancidView user's profileSend private messageVisit poster's websiteICQ Number
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.092 Seconds - 295 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::