Skip to content

Commit

Permalink
Merge pull request #1 from Tazzios/tag-search
Browse files Browse the repository at this point in the history
Tag search
  • Loading branch information
Tazzios authored Mar 27, 2021
2 parents 5d522e4 + 958d9b5 commit e8dd552
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ You can use them in ''downloads' and 'downloads details' lay
### Optional parameters

Open on specific page
>page=[integer]
>page=[integer]
Page will be ignore if there is a smartsearch highlight present in the url.
Use ctrl+f5 to test it, else it will remember the old pagenumber.

Highlight key words
>Search=[string]
Highlight keywords
>Search=[keyword1-keyword2] (no spaces allowed use "-" as seperator)
Additional parameter for use with jdownloads and a customfield, see advanced section.
>showpdfpreview=[Yes] (case sensitive)
Expand All @@ -51,10 +52,17 @@ Article example custom field integer {field 2}
If you do not want to show every pdf file as preview you can create an custom field in jdownloads which you can use to turn it on or off.
{jdfield 3} if returns "Yes" (case sensitive) then it will show the pdfviewer. You can use a checkbox or dropdown for this.

Jdownloads example custom field checkbox {jdfield 4}
Show preview
Jdownloads example custom field checkbox {jdfield 3}
>{pdfviewer jdownloadsid={file\_id} showpdfpreview={jdfield 3} }
Article example custom field checkbox {field 2}
>{pdfviewer jdownloadsid=4 page={field 2} }
Search terms
Jdownloads example custom field text {jdfield 5}
>{pdfviewer jdownloadsid={file\_id} showpdfpreview={jdfield 5} }
Article example custom field text {field 5}
>{pdfviewer jdownloadsid=4 search={field 5} }

0 comments on commit e8dd552

Please sign in to comment.