Releases: OJSBR/pdfFlipbookOmp
Releases · OJSBR/pdfFlipbookOmp
Release list
pdfFlipbook 0.3.0.3 - OMP 3.5
Fixed
- The button never appeared on a chapter's own landing page. The plugin
hookedTemplates::Catalog::Book::Details, and OMP does not call that hook on
the chapter page — it has its own,Templates::Catalog::Chapter::*. So on a
book with chapters, the button was missing from exactly the page the reader
lands on. Both hooks are now registered. - The button did not look like a button outside the publication-format box.
It was injected as a bare anchor and relied on the theme styling any link in
its neighbourhood — true inside.pub_format_*, false in a chapter list, where
only.cmp_download_linkis styled and the button rendered as underlined text
among real buttons. It now copies the class list of the PDF link next to it
before adding its own, so it is a visual sibling of that link in any context
and under any theme, instead of depending on one theme's generosity.
pdfFlipbook 0.3.0.2 - OMP 3.5
Fixed
- The button's icon rendered as an empty box wherever the theme does not style
the surrounding links. The::beforecarried the FontAwesome codepoint but
inherited the body font, so the glyph had nowhere to come from. It showed up
correctly next to the book's own PDF only because the theme applies FontAwesome
to download links inside the publication-format box; in a chapter list,
where the same button is injected, the container gets no such treatment and the
reader saw a tofu box. The font is now declared on the pseudo-element itself
instead of being inherited.
pdfFlipbook 0.3.0.1 - OMP 3.5
Added
- Cypress specs (
cypress/tests/functional/PdfFlipbook.cy.js): enabling the plugin,
the flipbook button appearing next to the ordinary PDF link and the pages actually
rendering, and navigation, zoom and the way back to the book page. - A live demo link in the README.
0.3.0.0-omp3.5
Installable package for OMP 3.5. Unpack into plugins/generic/pdfFlipbook.