-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] 3D viewer selection #1395
base: main
Are you sure you want to change the base?
Changes from all commits
7d0b79c
1bf71ce
acb0900
5198826
6860751
a909ca2
d67d750
2923761
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -1024,6 +1024,60 @@ The fulltext is fetched and rendered by JavaScript into the `<div id="tx-dlf-ful | |||
|
||||
**Please note**: To allow JavaScript fetching the fulltext, the `CORS headers <https://en.wikipedia.org/wiki/Cross-origin_resource_sharing>`_ must be configured appropriate on the providing webserver. | ||||
|
||||
Model download tool | ||||
^^^^^^^^^^^^^ | ||||
|
||||
This tool makes it possible to extract the model URL from the METS file or use the provided model parameter to provide a download URL. | ||||
|
||||
:typoscript:`plugin.tx_dlf_modeldownloadtool.` | ||||
|
||||
.. t3-field-list-table:: | ||||
:header-rows: 1 | ||||
|
||||
- :Property: | ||||
Property | ||||
:Data Type: | ||||
Data type | ||||
:Values: | ||||
Values | ||||
|
||||
- :Property: | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do you set up this property here?
kitodo-presentation/ext_conf_template.txt Line 22 in 4b3a130
Please move it there. |
||||
fileGrpsModelDownload | ||||
:Data Type: | ||||
:ref:`t3tsref:data-type-string` | ||||
:Values: | ||||
DEFAULT - single filegroup | ||||
|
||||
MIN,DEFAULT,MAX - comma separated list of filegroups | ||||
|
||||
|
||||
Viewer selection tool | ||||
^^^^^^^^^^^^^ | ||||
|
||||
This tool can display a selection list of configured 3D viewers (from the "dlf_3d_viewers" directory see :ref:`Embedded 3D Viewer Setup`) that support the current model. | ||||
|
||||
The model URL is extracted from the METS file or taken from the provided model parameter. The extension of the model is extracted from this URL and compared with the supported model formats specified in the respective viewer configuration. | ||||
|
||||
:typoscript:`plugin.tx_dlf_viewerselectiontool.` | ||||
|
||||
.. t3-field-list-table:: | ||||
:header-rows: 1 | ||||
|
||||
- :Property: | ||||
Property | ||||
:Data Type: | ||||
Data type | ||||
:Values: | ||||
Values | ||||
|
||||
- :Property: | ||||
fileGrpsModelDownload | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The same as above. |
||||
:Data Type: | ||||
:ref:`t3tsref:data-type-string` | ||||
:Values: | ||||
DEFAULT - single filegroup | ||||
|
||||
MIN,DEFAULT,MAX - comma separated list of filegroups | ||||
|
||||
Search in Document Tool | ||||
^^^^^^^^^^^^^^^^^^^^^^^ | ||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Access to properties from
ext_conf_template.txt
:Example:
GeneralUtility::trimExplode(',', $this->extConf['files']['fileGrpThumbs']);