Update highlights
This version brings significant enhancements to the manual management functionality, by enabling revisions/versions. For uploaded manuals, you can now define multiple revisions of the same item, each with their own manual. This can be especially useful for products that can have hardware differences that change how the product can be operated.
It is now also possible to create manuals. Created manuals let you define categories and pages yourself, and they also have versions (same functionality as "revisions", just named differently). You can see this in action @ https://www.dragonbyte-tech.com/documentation/ and you can read more on how this functionality works here: https://www.dragonbyte-tech.com/documentation/pages/creating-a-manual.613/
Lastly, API functionality is now implemented, to programmatically manage your manuals remotely.
This version also brings a slew of bug fixes discovered while writing the manual for this addon.
Please see the full changelog below for information about the bugs fixed in this version.
Complete Change Log
Feature: Manuals now have revisions. Each revision has its own revision ID, such as r1, and its own file. The manual viewer has a revision menu for switching between revisions, and anyone who can edit a manual can add a revision from that menu. A new revision becomes the one shown by default. The upload date, page count and file size above and beside the viewer describe the revision being viewed, and downloading starts with that revision. When several revisions have a file, the download buttons open a list of revisions to choose from
Feature: Members watching a manual get an alert, and an email if they chose one, when a revision is added
Feature: Manuals can now be created in a page builder as well as uploaded. A created manual is made of pages and page categories arranged in a hierarchy, with a table of contents beside every page. Each page has a title, a meta description used by search engines, its own attachments, and page text written in a large editor
Feature: A created manual has versions instead of revisions. Adding a version copies every page of the current version, with its attachments, and each version's pages can then be added, edited, moved and deleted without affecting other versions. A page's version menu opens the same page in another version
Feature: Pages are included in search results and can be read by guests when the category's permissions allow it
Feature: The pages of a created manual can be reordered and moved by dragging them in the manual's edit form
Feature: Page text has edit history. Each version of a page keeps its own history, which moderators can view, compare and revert from the page
Feature: Manual pages can be reported. A report is about the version being read, so reports on different versions of a page are handled separately
Feature: Created manuals have a search box above the table of contents and above each page's text that searches only that manual, and "This manual" is offered as a search constraint when viewing a manual or one of its pages
Feature: A page whose text has headings shows an "On this page" list at the top of the page, below the manual's search box, nested by heading level, with each entry linking to its heading. The list can be collapsed. Placed in the sidebar navigation instead, it stays in view while scrolling and highlights the heading being read
Feature: The table of contents and the "On this page" list are widgets. The table of contents is installed in a new "Created manual sidenav" widget position, and the "On this page" list in a new "Manual page: Above page text" position inside the page block. Both positions pass the manual, page and version to their widgets, and the widgets can be moved, retitled or removed in the control panel
Feature: New permissions decide who can create manuals, who can create them without approval, and how many pages and page categories a created manual can have
Feature: Other add-ons can add their own manual types, with their own pages, forms and stored settings
Feature: With DragonByte eCommerce installed, a new "Product" manual type writes a manual for a store product in the page builder. Members choose one of the products they can edit, and each product can have one manual. The manual and its pages are shown inside the product's page, with the product's description, tabs and sidebar, and the product gains a "Manual" tab that links to it
Feature: New advertising positions above and below the content of the manuals index, category pages and manuals, above and below a manual's description, and above and below the text of each page of a created manual and below its page block
Feature: New widget positions above and below the main content of a manual and of each page of a created manual
Feature: A single version or revision of a manual can be deleted from its "more options" menu, either soft-deleted, which keeps its file and pages, or permanently. Deleting the current version makes the next oldest one current, and the last version of a manual cannot be deleted. New permissions decide who can delete their own versions, delete any version, and permanently delete them
Feature: Moderators with the new permissions can view soft-deleted versions, which are marked as deleted, and undelete them. Undeleting a version newer than the current one makes it current again
Feature: Created manuals have an Import/Export page in their "more options" menu. Importing reads a zip archive of Markdown documents: each document becomes a page and each folder a page category, or a page with children when it holds an index.md file, with titles and other settings read from YAML front matter. Images and files with relative paths are attached to their pages, and links between documents become links between pages. An import can append to the version being viewed, replace that version's pages, or become a new version, linked to the matching pages of the current version. Exporting downloads a version in the same format, so it can be imported again
Feature: A new "Default sort order" option sets the order of the manuals listed on the manuals index page, with the same sort orders as the category filters
Feature: Images attached to a page or to a manual's description, whether inserted in the text or listed below it, open in the lightbox
Feature: A REST API for categories, manuals, versions, pages and uploaded files, with the scopes dbtech_manuals_category (read, write, delete) and dbtech_manuals_manual (read, write, delete_hard). It lists, creates, edits and deletes categories (with the admin permission to manage manuals), manuals and their versions, adds a version with its file or a copy of the current version's pages, renames a version or replaces its file, downloads a version's file, and reads, creates, edits and deletes the pages of a created manual, with page text kept as raw BB code. Files and images are uploaded through the core attachments API, with attachment keys of the types dbtech_manuals_pdf, dbtech_manuals_manual and dbtech_manuals_page
Change: The upload form asks for a revision ID, prefilled with r1, and the edit form lets each revision be renamed or have its file replaced
Change: Downloads are now counted for each revision as well as for the manual. Page text and search use the current revision
Change: Upgrading turns each existing manual's file into its first revision, with the revision ID r1
Change: In the control panel, a category's "Allow new manuals to be uploaded" option is replaced by a list of allowed manual types. Upgrading keeps uploading allowed where it was
Fix: The category page's sidebar navigation widget position is now included with the add-on, so widgets placed in it, such as Trending manuals, appear on category pages
Fix: The New manuals widgets on the What's new overview and the forum list now show. Upgrading repairs the existing widgets
Fix: Deleting a category now also deletes its manuals. The background deletion stopped at the first manual with a discussion thread, leaving its manuals behind without a category
Fix: Manual lists no longer skip or repeat manuals across pages when several manuals share the same sort value, such as manuals posted at the same moment. Tied manuals are now listed newest first, or oldest first when sorting in ascending order. A manual's download log is likewise listed in a fixed order when downloads share the same date
Update highlights
This version brings a slew of bug fixes thanks to automated testing.
Please see the full changelog below for information about the bugs fixed in this version.
Complete Change Log
Fix: Usage help can now be added to manual prefixes, and is shown when choosing a prefix for a manual
Fix: Custom manual field definitions are now cached instead of being rebuilt on every page load
Fix: Word documents with an empty body no longer cause page text extraction to fail with an error
Fix: The Quick set option on the manual prefix list no longer fails with an error
Update highlights
After a successful Beta period, this addon is now considered fully stable
This version fixes a server error that would occur when updating manuals views on newer versions of MySQL.
Complete Change Log
Fix: Fixed a database error when updating manual view counts on MySQL 8.4 and newer
Update highlights
This version adds support for.docxand.txtfiles to be used as manuals. These file types get a very similar preview feature, just without inline searching and without page thumbnails.
Complete Change Log
Feature: Manuals can now be uploaded as Word (.docx) or plain text (.txt) files as well as PDFs, with page links, page text and search for every type
We use essential cookies to make this site work, and optional cookies to enhance your experience.