Hi, I know this is defective by design, but sometimes, blocks in content ARE the content. Using some menu alteration, we may have to display our views as blocks in content, in those use case, when the user wants to print its page, he wants to see those blocks in the printed page body.

The module should include blocks in content region and display them when doing a _print_generate_path().

Comments

pounard’s picture

Oups sorry, last sentence was a question, not an affirmation.
Does this modules should display content region's blocks? I think this is consistent.

pounard’s picture

StatusFileSize
new434 bytes

I know this behavior is opposite to print module's goal (which is to remove all blocks), so I did a really dirty patch, but which works on the site I'm currently working on.
Hope it could help people with strange site configuration like I currently work on.

jcnventura’s picture

Status: Active » Fixed

Indeed, as you said in #1, it's a question, actually it's a FAQ.

You don't need to patch the module, just alter the template to display the content blocks. You can even place the template in your theme.

João

pounard’s picture

Oh ok, really thanks!
I should have read the FAQ before asking, sorry.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.