Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#2401 closed New feature (fixed)

PDF: Add page numbers

Reported by: matt Owned by: peterb
Priority: normal Milestone: 1.5 - Piwik 1.5
Component: UI - UX (AngularJS, twig, less) Keywords:
Cc: Sensitive: no


It was suggested that we add Page numbers in the PDF reports, which are useful if users print out the report or discuss with their colleagues.

Not sure how hard it is to do this with the PDF lib but should be a quick fix?

Change History (6)

comment:1 Changed 3 years ago by peterb (peterbo)

  • Owner set to peterb

I'd also include the report's date and (if available) period or something. I'll be fixing that in the next week.

comment:2 Changed 3 years ago by matt (mattab)

Adding in the footer the "Date Range: X" shown on the front page would be great indeed. Maybe also adding the website name?

comment:3 Changed 3 years ago by peterb (peterbo)

  • Resolution set to fixed
  • Status changed from new to closed

(In [4675]) fixes #2401.

EDIT: Sorry for PDF.php - seems like i hit the source-code beautifier in this file.

Changes were made in rows 18, 61 and 99-107. The other files should be correctly showing the changes.

comment:4 Changed 3 years ago by vipsoft (robocoder)

pi_tcpdf: if we're extending a lib, the new class file should be in the Piwik_ namespace.

comment:5 Changed 3 years ago by peterb (peterbo)

(In [4676]) fixes #2401 with Anthon's comment incorporated. (use Piwik Namespace when extending a lib)

comment:6 Changed 3 years ago by matt (mattab)

(In [4677]) Refs #2401 Fixing build adding SVN keywords

Note: See TracTickets for help on using tickets.