Load different Welcome.pdf
-
When clicking
View PDF, a sample Welcome.pdf is opened.
Can I change this ?
Can't see anything in/app/data/customFiles
Tried uploading one tostatic
Yes, I can open one manually, just trying to reduce manual steps for users. -
Oh, and supplemental question : there is a folder
templatesbut I can't see any info on how to use this. -
For some reason it's put into the .jar file itself
/app/code# unzip -t Stirling-PDF.jar |grep Welcome testing: BOOT-INF/classes/static/pdfjs/example/Welcome_old.pdf OK testing: BOOT-INF/classes/static/pdfjs/example/Welcome.pdf OKLast ditch, try putting it in the customFiles/static/pfdjs/ dir.
So unless there's a config variable or setting to point it at someplace else, you'd have to modify the .jar file which needs a new package.
Might help to ask upstream.
-
Wow great investigation, thank you
-
For some reason it's put into the .jar file itself
/app/code# unzip -t Stirling-PDF.jar |grep Welcome testing: BOOT-INF/classes/static/pdfjs/example/Welcome_old.pdf OK testing: BOOT-INF/classes/static/pdfjs/example/Welcome.pdf OKLast ditch, try putting it in the customFiles/static/pfdjs/ dir.
So unless there's a config variable or setting to point it at someplace else, you'd have to modify the .jar file which needs a new package.
Might help to ask upstream.
@robi said in Load different Welcome.pdf:
try putting it in the customFiles/static/pfdjs/
You're a genius !
thank youPutting a modified PDF called
Welcome.pdfin/app/data/customFiles/static/pdfjs/exampleloads an alternative to the Stirling default.
Great !Some documentation would be nice in the source repo.
It's mostly self-explanatory, but this little gem should be known. -
Posted an issue for this in upstream repo.
https://github.com/Frooodle/Stirling-PDF/issues/461 -
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login