Closed (works as designed)
Project:
Get Directions
Version:
6.x-2.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2011 at 17:05 UTC
Updated:
21 Feb 2012 at 19:55 UTC
Just wondering how we get a nice print out of the directions results.
Comments
Comment #1
hutch commentedI don't know, have you tried the print module?
Comment #2
hutch commentedComment #3
pmathur01 commentedI tried to use print module to print the directions but it does not print the directions is there any other way to print out the directions?
Comment #4
hutch commentedPrinting is a function of the browser and Getdirections has no control over which browser or which OS. I am told that Firefox prints it out but I do not have a printer so cannot test. The map and instructions are visible in print preview on my Ubuntu box.
Comment #5
pmathur01 commentedthanks, I am able to view on my browser as well but wanted to have a link on the page for users to Print the page.
Comment #6
hutch commentedIn that case copy function theme_getdirections_show to your theme's template.php, renaming it appropriatley and stick something like this in:
Comment #7
spgd01 commentedTo print a block with print module yo need to add the following to the print.tpl.php template
print theme('blocks', 'content');You also want to add "*/page_with_block" to the non-content list
So what would be the equivalent PHP for the get directions module?
The non-content list would be */getdirections
Comment #8
hutch commentedAs far as I can see the Print module refetches the page so any driving instructions provided by Google are lost.
Comment #9
anybodyPrinting the route would really be an interesting feature.
Is there no possibility to view the route on google maps for example to print it or any other printing functionality provided by google?
Comment #10
hutch commentedIt's browsers that provide printing functionality, not websites.
Comment #11
anybody@hutch: That's correct but the server (for example at google maps) may provide a printable Version!
Comment #12
hutch commented