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().
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | print.pages_.inc-6.x-1.8-content_blocks.patch | 434 bytes | pounard |
Comments
Comment #1
pounardOups sorry, last sentence was a question, not an affirmation.
Does this modules should display content region's blocks? I think this is consistent.
Comment #2
pounardI 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.
Comment #3
jcnventuraIndeed, 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
Comment #4
pounardOh ok, really thanks!
I should have read the FAQ before asking, sorry.