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

jcnventura’s picture

Project: Printer, email and PDF versions » Front Page
Version: 7.x-1.1 » 7.x-2.1

This 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.

simon georges’s picture

Title: Printing front page using Front page module. » Integration with Print module
Version: 7.x-2.1 » 7.x-2.x-dev
Category: support » feature

Hi,

What would you need to have the integration with Print module working?
Should we consider a special path print/front_page that would initialize the global variable too? Would that be enough?

simon georges’s picture

Status: Active » Postponed (maintainer needs more info)