WT View PDF

Downloads 25 Hits 110 CTR 23% Plg Free

The content plugin allows you to display the contents of PDF files using the HTML5 object tag or the javascript library PDF.js .

Description

The plugin allows you to display pdf files on the Joomla website as HTML5 , as well as using the javascript PDF.js library. In this case, connect it yourself or use the web assets WT PDF.js plugin. Specify the path to the file in the shortcode { PDF}path/to/file.pdf{/PDF}.

You can specify the tmpl parameter in the shortcode to display the PDF with the selected layout. For example, { PDF tmpl=html5object}path/to/file.pdf{/PDF} . If the tmpl parameter is omitted or specified, the PDF file will be displayed using the layout specified by default in the plugin settings.

The plugin provides 4 layouts:

  • default - the pdf file is embedded into the entire page using the PDF.js library.Requires the WT web asset plugin installed PDF.js .
  • bootstrap-modal - viewing the file in the Bootstrap 5 pop-up window. A button is displayed that opens the modal window. The progress of viewing the current file is also displayed at the bottom of the window. Requires the WT web asset plugin installed PDF.js .
  • html5object - displays the contents of a file using the HTML5 tag. This layout does not require the installation of any additional plug-ins and displays the contents of a pdf file in Joomla using a standard browser window.
  • uikit-modal - similar to the Bootstrap layout, but using UIKit.

You can also create your own output layouts in the plugins/content/wtviewpdf/tmpl folder of the Joomla plugin.

Minimum Joomla version - 5.x.

Demo

Bootstrap-modal layout.

html5object layout.

Joomla

Extension type:
Plugin
Folder:
Content
Joomla version:
5.0.0

What's new

Addition

Initial version

First extension version

Related extensions

WebTolk Joomla Extensions

92 Extensions
11 Categories
442 Versions released
440952 Downloads
Cart
Cart is empty