NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page A Print Redirect:PHP?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-01-2005, 10:23 AM THREAD STARTER               #1 (permalink)
Account Suspended
 
LeetPCUser's Avatar
Join Date: May 2005
Location: Whitewater, WI
Posts: 3,710
LeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to behold
 


AIDS/HIV

A Print Redirect:PHP?


I am working on a page for a school site mainly created with Joomla. I know, I don't like it either. Well, they need to be able to update it. I need it so when a page is printed, it will not print the current page, but a different, specified page, on the server. I need this because our code hides the headers and everything but the disclaimer and menu still show on print. The nice thing is we loaded this file in a wrapper, so we have the original,with no menus, on the server. How can I tell the page to print a different page from the one the person is viewing?

Thanks,
LeetPCUser is offline  
Old 11-01-2005, 11:05 AM   #2 (permalink)
NamePros Regular
Join Date: Sep 2005
Location: Seattle, USA
Posts: 238
iDev has a spectacular aura aboutiDev has a spectacular aura aboutiDev has a spectacular aura about
 



Most of the time I see the CMS have a "print" page which is a different template with just/mainly the core content which the user would then print. Sometimes there is a print button on that page. I have not seen seen a web page that would print a different web page then the page that the user is currently on.
iDev is offline  
Old 11-01-2005, 11:25 AM   #3 (permalink)
NamePros Expert
 
Peter's Avatar
Join Date: Nov 2003
Location: Scotland
Posts: 5,069
Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute
 


Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
you meanm like direct it to a confirmation page rather than the content they just input.

if so and you are brave enough you could try a header redirect but you would need to find where to add the code. I am not familiar with that system so can't really help at the moment.
Peter is offline  
Old 11-01-2005, 12:47 PM THREAD STARTER               #4 (permalink)
Account Suspended
 
LeetPCUser's Avatar
Join Date: May 2005
Location: Whitewater, WI
Posts: 3,710
LeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to behold
 


AIDS/HIV
What I did was made a seperate CSS file that hid different classes and id's.
LeetPCUser is offline  
Old 11-01-2005, 02:05 PM   #5 (permalink)
NamePros Member
Join Date: Nov 2003
Location: Ontario, Canada
Posts: 127
eagle12 will become famous soon enougheagle12 will become famous soon enough
 



I agree with TheComputerGeek247.

Make a different css for just printing, and link it to the page. Set the media to print for the css you want to use for printing, and the other one to screen.

Then all you have to do is hide the portions of the page you don't want printed.
eagle12 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
README: What is a Logo? The difference between web and print? Tips on creating Logos. Sylense Design Contests 4 10-22-2005 08:36 AM
Problems with Print CSS Crashing IE in Windows mcdzinr Programming 2 10-08-2005 09:38 AM
Offline (Print) Advertising: Does It Work? dgridley The Break Room 5 10-03-2005 09:39 AM
CGI/Perl FormMail...Won't Work! CGYFlames03 CODE 4 06-29-2005 02:30 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:56 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger