Loading...
 
Skip to main content
Coordination page to improve Tiki print functionality

Print

This should all be revisited with

Bootstrap and moved to themes:print. See also Typography.


Here we focus on using a global print method for any Tiki object/page, instead of having tiki-print.php, tiki-print_article.php, tiki-print_blog_post.php

It is similar to tell a friend why is replacing individual files like send_blog_post.php

This doesn't cover improving multi-print or structure print.

  • This is a real pity, since we are not helping ourselves to produce an updated .odt or .pdf handbook out of the current doc.tw.o/Documentation. (Xavi 🙁 )
    • Marc's reply: 1- Single page print is much simpler, yet still not good enough. Walk first, run later. 2- This is not the same problem we are addressing 3- Someone is sponsoring single page print improvement. I look forward to a sponsor for multipage
    • Xavi's follow up: Ok, I understand, Marc, thanks for the info. I'm also looking for a sponsor for the broken doc.tw.o multi print feature, even if no enhancements are done; I hope I'll find somebody that can make it at least work as before: bug2840)

But it does include taking a look at tiki-slideshow.php and tiki-slideshow2.php for low-hanging fruit.

To do

Questions

Wishlist

  • Use javascript:window.print() to avoid current double step (click print icon, and then CTRL-P)
  • A wiki syntax to force a page break
  • Alternate content by media
  • print css perhaps should have a more descriptive name?
    • ex.: thenews-print.css
  • Print mode should open up all hidden sections (ideally, you can close some of them back to save paper)
  • Print mode should allow user to select which version (from all plugin versions) should be shown.
  • Need a print permission one tiki_p_print for all features seems OK. So we could have feature check and permission check to show link to CSS?
  • Find a way for alternate content to be sent to the print.css
    • {noprint} wiki syntax so people can have content that is just for the screen
    • Could Tiki detect print mode and put URLs as footnotes?
  • Inline attachments show "No such attachment on this page" on print view.
  • tiki-print_pages.php should allow to choose tikiversion for all pages, if PluginVersion is used
  • Along with print.css, have a handheld.css
  • When printing, links should show the actual URL
    • Links and URLs should be displayed in the Print version. For example:
      • ((foo)) should display as foo (http://sitename/foo)
      • ((foo|bar)) should display as bar(http://sitename/foo)
      • [foo|bar] should display as bar (http://foo)


Multiprint of structures or page

Wishes from devel list:

  • Ability to specify language (for multilingual structures)
  • Ability to specify VERSION (when VERSION plugin is used within the structure)
  • The problem of too many pages taking too long probably there needs to be a way to create multiple pdf files per chapter or something like that

related

http://wikimediafoundation.org/wiki/Wikis_Go_Printable
http://www.wikibooks.org/

alias

print.css | handheld.css | Multi-Print | MultiPrint | Printing

Collapse/expand modules below
Show PHP error messages