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, 63 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Removing Forums Header and Site Header in Profile? [ ]
 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
beerinator
Nuke Cadet
Nuke Cadet


Joined: Sep 05, 2004
Posts: 3


PostPosted: Tue Oct 11, 2005 3:47 pm Reply with quoteBack to top

I am creating a new page based on the mysql data that is pulled for the forums profile page. Basically, I'm trying to have phpnuke automatically generate a user's information for a nametag, that they can print directly from the browser.

I've copied profile.php (from modules/Forums/)and renamed it to nametag.php. I've also copied, modified and renamed the profile_view_body.tpl and the usercp_viewprofile.php.

Basically, everything is working the way that I want it to.

Except, I'm trying to remove the site header and footer, as well as the forums header and footer, for just this one page. I can remove the forums header and footer, but I can't find out where to remove the main site header and footer for just this one page.

To make it more simple to understand, pretend that I'm trying to remove everything from this linked page except for the content within the profile table;
http://nukecops.com/modules.php?name=Forums&file=profile&mode=viewprofile&u=23766

Does anyone have a clue how to remove all headers and footers for just one page? Is it possible without making a new module?
Find all posts by beerinatorView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Tue Oct 11, 2005 4:19 pm Reply with quoteBack to top

You may need your theme.php to not display the header and footer for that specific page

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
beerinator
Nuke Cadet
Nuke Cadet


Joined: Sep 05, 2004
Posts: 3


PostPosted: Tue Oct 11, 2005 4:33 pm Reply with quoteBack to top

Evaders99 wrote:
You may need your theme.php to not display the header and footer for that specific page

Ok, that makes more sense.

So I guess I'll be shooting for something like;

Code:
if profile page
{
don't display header
}
else
{
display header
}


Obviously this isn't the correct coding, but this should work right? I'll give it a shot. Thanks!
Find all posts by beerinatorView user's profileSend private message
sandman229
Sergeant
Sergeant


Joined: Jul 28, 2003
Posts: 104

Location: Victorville, Ca.

PostPosted: Thu Sep 25, 2008 11:42 pm Reply with quoteBack to top

beerinator wrote:
Evaders99 wrote:
You may need your theme.php to not display the header and footer for that specific page

Ok, that makes more sense.

So I guess I'll be shooting for something like;

Code:
if profile page
{
don't display header
}
else
{
display header
}


Obviously this isn't the correct coding, but this should work right? I'll give it a shot. Thanks!




I know this is old but this is exactly what I also need.. Did any one figure out what was done???

_________________
Sandman
Find all posts by sandman229View user's profileSend private messageSend e-mailYahoo MessengerMSN MessengerICQ 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
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.181 Seconds - 349 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::