Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print options (feature request) #143

Open
WGroleau opened this issue Feb 23, 2024 · 4 comments
Open

Print options (feature request) #143

WGroleau opened this issue Feb 23, 2024 · 4 comments
Labels

Comments

@WGroleau
Copy link

It would be nice to have a print option in CSS or some other way of printing just the tab contents without the webtrees headers, footers, and sidebar.

It would also be nice to be able to restrict ability to print to certain user roles.

@JustCarmen
Copy link
Owner

JustCarmen commented Mar 22, 2024

You already can print out the page without headers etc. Just click ctrl. P (default browser option) to print the page.

You have to do this from the full page, not from the individual page. The annoying thing, though, is that you can only print the current page. So if you want to print all generations, you have to set the 'Maximum number of generations per page' to the highest level. This may affect the page load time.

The screenshot below shows what the page to be printed (or saved as pdf) looks like.

image

@WGroleau
Copy link
Author

I do not understand "full page" vs. "individual page"

@JustCarmen
Copy link
Owner

Example from my own website:

Tab individual page: https://wijzijnfamilie.nl/tree/wijzijnfamilie/individual/I3326/Johan-George-Honig#tab-_jc-fancy-treeview_

Same person from the full fancy treeview page (click the read more link or create a link):

https://wijzijnfamilie.nl/tree/wijzijnfamilie/jc-fancy-treeview/I3326/johan-george-honig/descendants/1

I should provide a better explanation in the readme file. Apparently the functions of the module are not very clear.

@WGroleau
Copy link
Author

WGroleau commented Mar 23, 2024

Makes sense. I was expecting the "read more" to be a "page two" which is actually what it did.  But at the end of the URI was /2#6 and when I changed that to /1, I got the first five generations, with paging controls at the bottom.  Printing from this format gives fewer pages than printing with the sidebars and header. I still have to use the page controls and three printouts (in my test person) to get all eleven generations. Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants