What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

XF1 Document manager

Status
Not open for further replies.

Clement

Freaky Coder
Staff member
PDF generation

Since version 2.7.0, pdf generation has been included in Document Manager.
However, due to licensing rights, the PHP class we use is not included inside our product.
This section will guide you through the steps necessary to get it working.

Go to the following page github page HERE.

Navigate down the page to the Download and install section, then click on the link on the right of the "download stable copies" line:
download.png
On the page were you get redirected, different versions are proposed. The current version we tested Document Manager with is the version 0.8.0. We do not recommend you to test with another version unless we have tested it. So don't hesitate to ask us if a new version is available.

Go down the version changelog and click on the zip file name to download the version:
download_version.png
Unzip the downloaded archive on your computer.

Then connect to the FTP of your forum, go to library/XFA/ThirdParty and create a folder called dompdf.
Upload the autoload.inc.php file and the lib and src directories of the unzipped archive inside the created folder.
Its content should look like the following once done:
directory_content.png
 

Clement

Freaky Coder
Staff member
Change "document" to something else

We already provide a set of xml files to fit different needs: Books, Tutorials, Manuals (the default one document is provided as well to go back to default).

You can install one of them:
  1. Go to your admincp, in Appearance > Languages
  2. Click on the Import a Language button
  3. On the opening page:
    • Select your file from the file explorer
    • Select the "Overwrite language" option
    • Select the language you want to overwrite (don't worry it will only overwrite the items relative to the add-on)
    • Click on Import
  4. And voilà !
Or create your own, for that we recommend you to start from the book one as you can easily make search and replace with it without mixing with the phrases name.
For that, search and replace with a case sensitive text tools for the following words:
  • Chapter (= default: Section)
  • Chapters (= default: Sections)
  • Book (= default: Document)
  • Books (= default: Documents)
Once created, import it the same way than explained here above.
 
Status
Not open for further replies.
Top