PDF Viewer
Pdf Viewer is an implementation of the javascript based pdf.js project for CMSimple and can show an unlimited number of viewers on the same page. Pdf Viewer has options to bypass browser cache and to periodicaly refresh pages running this plugin.
1. License
#license# #rl_license#
#hide_link#
#free_download#
#support#
2. Installation
Download and uncompress file pdfviewer_XH.zip
Upload the entire pdfviewer folder to your "plugins" folder.
3. Configuration
See online help in plugins configuration section.
To show a pdf file on the page enter { {{pdfviewer("file_name.pdf",cache,"ID");}}} (without spaces between { {). Cache (true or false, default is true) and id parameters are optional and may be omitted. The file file_name.pdf must be copied to userfiles folder or its subfolder in your CMSimple installation.
PDF Viewer with disabled cache
© simpleSolutions
Stylesheets
If "ID" parameter is not specified in plugin call then PDF Viewer creates a new ID for each viewer on the page named #pdf_container, #pdf_container_1 etc. To style the viewers stylesheet.css must contains corresponding definitions
#pdf_container, #pdf_container_1 {
width:100%;
height: 782px;
}
With installed CMSimple Mobile it is necessary to define additional css ID's for mobile devices: pdf_container_mobile, pdf_container_1_mobile and so on.
4. Compatibility
Tested with CMSimple_XH version 1.7 and php 7 but should run with any version of CMSimple and php 4.3 or later. XH-certified.
5. History
version 1.0.0
6. Known problems
This CMSimple plugin is distributed in the hope that it will be useful - without any warranty; without even the implied warranty of fitnes for a particualr purpose.
© simpleSolutions 2016-2018
© simpleSolutions
CMSimple plugin: Tooltip and Modalbox © simpleSolutions