first commit
This commit is contained in:
57
Configuration/FlexForms/Form.xml
Normal file
57
Configuration/FlexForms/Form.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<T3DataStructure>
|
||||
<sheets>
|
||||
<sDEF>
|
||||
<ROOT>
|
||||
<TCEforms>
|
||||
<sheetTitle>Search</sheetTitle>
|
||||
</TCEforms>
|
||||
<type>array</type>
|
||||
<el>
|
||||
<search.targetPage>
|
||||
<TCEforms>
|
||||
<label>Target Page</label>
|
||||
<config>
|
||||
<type>group</type>
|
||||
<internal_type>db</internal_type>
|
||||
<allowed>pages</allowed>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.targetPage>
|
||||
</el>
|
||||
</ROOT>
|
||||
</sDEF>
|
||||
<sOptions>
|
||||
<ROOT>
|
||||
<TCEforms>
|
||||
<sheetTitle>Options</sheetTitle>
|
||||
</TCEforms>
|
||||
<type>array</type>
|
||||
<el>
|
||||
<view.templateFiles.form>
|
||||
<TCEforms>
|
||||
<label>Custom Template</label>
|
||||
<config>
|
||||
<section>1</section>
|
||||
<type>select</type>
|
||||
<renderType>selectSingle</renderType>
|
||||
<itemsProcFunc>WapplerSystems\Meilisearch\System\UserFunctions\FlexFormUserFunctions->getAvailableTemplates</itemsProcFunc>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</view.templateFiles.form>
|
||||
<view.pluginNamespace>
|
||||
<TCEforms>
|
||||
<exclude>1</exclude>
|
||||
<label>Plugin Namespace</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim</eval>
|
||||
<default>tx_meilisearch</default>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</view.pluginNamespace>
|
||||
</el>
|
||||
</ROOT>
|
||||
</sOptions>
|
||||
</sheets>
|
||||
</T3DataStructure>
|
194
Configuration/FlexForms/Results.xml
Normal file
194
Configuration/FlexForms/Results.xml
Normal file
@@ -0,0 +1,194 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<T3DataStructure>
|
||||
<sheets>
|
||||
<sDEF>
|
||||
<ROOT>
|
||||
<TCEforms>
|
||||
<sheetTitle>Search</sheetTitle>
|
||||
</TCEforms>
|
||||
<type>array</type>
|
||||
<el>
|
||||
<search.targetPage>
|
||||
<TCEforms>
|
||||
<label>Target Page</label>
|
||||
<config>
|
||||
<type>group</type>
|
||||
<internal_type>db</internal_type>
|
||||
<allowed>pages</allowed>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.targetPage>
|
||||
</el>
|
||||
</ROOT>
|
||||
</sDEF>
|
||||
<sQuery>
|
||||
<ROOT>
|
||||
<TCEforms>
|
||||
<sheetTitle>Query</sheetTitle>
|
||||
</TCEforms>
|
||||
<type>array</type>
|
||||
<el>
|
||||
<search.initializeWithEmptyQuery>
|
||||
<TCEforms>
|
||||
<label>Initialize search with empty query</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.initializeWithEmptyQuery>
|
||||
<search.showResultsOfInitialEmptyQuery>
|
||||
<TCEforms>
|
||||
<label>Show results of initial empty query</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.showResultsOfInitialEmptyQuery>
|
||||
<search.initializeWithQuery>
|
||||
<TCEforms>
|
||||
<exclude>1</exclude>
|
||||
<label>Initialize with query</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim</eval>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.initializeWithQuery>
|
||||
<search.showResultsOfInitialQuery>
|
||||
<TCEforms>
|
||||
<label>Show results of initial query</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.showResultsOfInitialQuery>
|
||||
<search.query.filter>
|
||||
<section>1</section>
|
||||
<type>array</type>
|
||||
<el>
|
||||
<field>
|
||||
<type>array</type>
|
||||
<title>Filter</title>
|
||||
<el>
|
||||
<field>
|
||||
<TCEforms>
|
||||
<label>Field</label>
|
||||
<config>
|
||||
<section>1</section>
|
||||
<type>select</type>
|
||||
<renderType>selectSingle</renderType>
|
||||
<itemsProcFunc>WapplerSystems\Meilisearch\System\UserFunctions\FlexFormUserFunctions->getFacetFieldsFromSchema</itemsProcFunc>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</field>
|
||||
<value>
|
||||
<TCEforms>
|
||||
<label>Value</label>
|
||||
<config>
|
||||
<section>1</section>
|
||||
<type>input</type>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</value>
|
||||
</el>
|
||||
</field>
|
||||
</el>
|
||||
</search.query.filter>
|
||||
<search.query.sortBy>
|
||||
<TCEforms>
|
||||
<exclude>1</exclude>
|
||||
<label>Sorting</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim</eval>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.query.sortBy>
|
||||
<search.results.resultsPerPage>
|
||||
<TCEforms>
|
||||
<exclude>1</exclude>
|
||||
<label>Results per Page</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>int+</eval>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.results.resultsPerPage>
|
||||
<search.query.boostFunction>
|
||||
<TCEforms>
|
||||
<exclude>1</exclude>
|
||||
<label>Boost Function</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim</eval>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.query.boostFunction>
|
||||
<search.query.boostQuery>
|
||||
<TCEforms>
|
||||
<exclude>1</exclude>
|
||||
<label>Boost Query</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim</eval>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.query.boostQuery>
|
||||
<search.query.tieParameter>
|
||||
<TCEforms>
|
||||
<exclude>1</exclude>
|
||||
<label>Tie Breaker</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim</eval>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.query.tieParameter>
|
||||
</el>
|
||||
</ROOT>
|
||||
</sQuery>
|
||||
<sOptions>
|
||||
<ROOT>
|
||||
<TCEforms>
|
||||
<sheetTitle>Options</sheetTitle>
|
||||
</TCEforms>
|
||||
<type>array</type>
|
||||
<el>
|
||||
<view.templateFiles.results>
|
||||
<TCEforms>
|
||||
<label>Custom Template</label>
|
||||
<config>
|
||||
<section>1</section>
|
||||
<type>select</type>
|
||||
<renderType>selectSingle</renderType>
|
||||
<itemsProcFunc>WapplerSystems\Meilisearch\System\UserFunctions\FlexFormUserFunctions->getAvailableTemplates</itemsProcFunc>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</view.templateFiles.results>
|
||||
<view.pluginNamespace>
|
||||
<TCEforms>
|
||||
<exclude>1</exclude>
|
||||
<label>Plugin Namespace</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim</eval>
|
||||
<default>tx_meilisearch</default>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</view.pluginNamespace>
|
||||
|
||||
<search.ignoreGlobalQParameter>
|
||||
<TCEforms>
|
||||
<exclude>1</exclude>
|
||||
<label>Ignore the global q parameter</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
<default>0</default>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</search.ignoreGlobalQParameter>
|
||||
</el>
|
||||
</ROOT>
|
||||
</sOptions>
|
||||
</sheets>
|
||||
</T3DataStructure>
|
Reference in New Issue
Block a user