| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Account Suspended | 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, |
| |
| | #2 (permalink) |
| NamePros Regular | 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. |
| |
| | #3 (permalink) |
| Senior Member | 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. |
| |
| | #5 (permalink) |
| NamePros Member | 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. |
| |
![]() |
| 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 07:36 AM |
| Problems with Print CSS Crashing IE in Windows | mcdzinr | Programming | 2 | 10-08-2005 08:38 AM |
| Offline (Print) Advertising: Does It Work? | Dave in Carthage | The Break Room | 5 | 10-03-2005 08:39 AM |
| CGI/Perl FormMail...Won't Work! | CGYFlames03 | CODE | 4 | 06-29-2005 01:30 AM |