Module can't print front page when using Front page module. New window (/print/front_page) says Page not found. In Drupal 6.x it worked fine.
Module can't print front page when using Front page module. New window (/print/front_page) says Page not found. In Drupal 6.x it worked fine.
Comments
Comment #1
jcnventuraThis may not be easily solvable.. The core problem is that the Front Page module tries to see if it was currently called as Drupal's front page before setting the $_front_page global..
The problem is that if the print/ or print/node path get called, Drupal's regular front page will be displayed.. You need to call print/front_page, which then tries to load the front_page path. As during front_page_init that global variable was not set, the call will return drupal_not_found().
I can't do anything on the print module site. The print module is certainly not going to set the $_front_page global variable. I'm transferring this issue to the Front Page module, to see if it's possible to solve on their side.
Comment #2
simon georges commentedHi,
What would you need to have the integration with Print module working?
Should we consider a special path
print/front_pagethat would initialize the global variable too? Would that be enough?Comment #3
simon georges commented