<
From version < 576.1 >
edited by Administrator
on 2020/01/14 00:00
To version < 578.1 >
edited by Andreea Chirica
on 2020/01/14 13:54
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Admin
1 +XWiki.AndreeaChirica
ExtensionCode.ExtensionClass[0]
Description
... ... @@ -27,12 +27,24 @@
27 27  
28 28  === PDF file attached to a wiki page ===
29 29  
30 +To note that when using this option to display a PDF on a wiki page, the URL for the PDF will be generated using the XWiki API which can handle different setups for the wiki (path based, domain based, alias updates, etc).
31 +
30 30  {{code}}
31 31  {{pdfviewer file="gsoc.pdf" document="dev:GoogleSummerOfCode.WebHome" asauthor="1" height="900" width="80%"/}}
32 32  {{/code}}
33 33  
36 +=== PDF file attached to a terminal wiki page ===
37 +
38 +When having a PDF file attached to a terminal page, the syntax is slightly different, leaving out the "WebHome" mention.
39 +
40 +{{code}}
41 +{{pdfviewer file="gsoc.pdf" document="dev:GoogleSummerOfCode" asauthor="1" height="900" width="80%"/}}
42 +{{/code}}
43 +
34 34  === PDF accessed from an external resource via URL ===
35 35  
46 +When using an absolut/explicit URL to display the PDF on a wiki page, keep in mind that you might need to update the URL if the alias of the source where the PDF is located will be changed.
47 +
36 36  {{code}}
37 37  {{pdfviewer file="http://dev.xwiki.org/xwiki/bin/download/GoogleSummerOfCode/gsoc.pdf" /}}
38 38  {{/code}}
... ... @@ -53,3 +53,4 @@
53 53  
54 54  
55 55  
68 +
Store.Code.PayingAppsClass[0]
Documentation
... ... @@ -1,1 +1,0 @@
1 -
XWiki SAS Copyright © 2024