AnsweredAssumed Answered

Customizing the document-details page

Question asked by ffe5221 on Sep 15, 2017
Latest reply on Sep 16, 2017 by afaust

Newbie question:

 

I'm using version of Aflresco Community - 5.2.0 (r135134-b14)

I'm custmizing page of the document-details.

I want to add jquery plugin (GitHub - loicminghetti/touchpdf: PDF viewer supporting touch gestures for jQuery )

I test to write :

<@markup id="js" >
<@script type="text/javascript" src="${url.context}/res/components/preview/pdf.compatibility.js" group="preview" />
<@script type="text/javascript" src="${url.context}/res/components/preview/jquery.mousewheel.js" group="preview" />
<@script type="text/javascript" src="${url.context}/res/components/preview/jquery.panzoom.js" group="preview" />
<@script type="text/javascript" src="${url.context}/res/components/preview/pdf.js" group="preview" />
<@script type="text/javascript" src="${url.context}/res/components/preview/jquery.touchSwipe.js" group="preview" />
<@script type="text/javascript" src="${url.context}/res/components/preview/jquery.touchPDF.js" group="preview" />
<#include "include/web-preview-js-dependencies.lib.ftl" />
</@>

 

 

Please how should I solve this problem?

Thanks in advanced.

Outcomes