Dynadot — .com Registration $8.99

A Print Redirect:PHP?

Spaceship Spaceship
Watch

LeetPCUser

Account Closed
Impact
36
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,
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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.
 
0
•••
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.
 
0
•••
What I did was made a seperate CSS file that hid different classes and id's.
 
0
•••
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.
 
0
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back