Printing Xerte pages

  • annem
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 2 months ago #6623 by annem
Printing Xerte pages was created by annem
Hi All,
Do you think it advisable for every page in the Xerte to have the 'Print' option (adding the code in 'Source' tab),

<button onclick="myFunction()">Print this page</button>
<script>
function myFunction() {
window.print();
}
</script>

Has anyone tried adding this code to every page type in Xerte?

Do some page types not accommodate adding the 'Print' code, eg if there is no 'Source' on the toolbar, where is this code added to the page in Xerte?

Is there a a way of including the 'Print' option on every page without manually adding it to every page (for example, a way to turn the function on for all the pages in the Xerte LO?).

Thanks in advance for your feedback, I look forward to hearing from you.
Best wishes
Anne

Please Log in or Create an account to join the conversation.

Moderators: ronmalimcn
Time to create page: 0.124 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo