| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Account Suspended Join Date: May 2005 Location: Whitewater, WI
Posts: 3,710
![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 Join Date: Sep 2005 Location: Seattle, USA
Posts: 238
![]() ![]() ![]() | 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) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 Join Date: Nov 2003 Location: Ontario, Canada
Posts: 127
![]() ![]() | 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 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 |