first commit
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{namespace solr=WapplerSystems\Meilisearch\ViewHelpers\Backend}
|
||||
{namespace meilisearch=WapplerSystems\Meilisearch\ViewHelpers\Backend}
|
||||
|
||||
<f:if condition="{document}">
|
||||
<div class="panel panel-default">
|
||||
@@ -27,7 +27,7 @@
|
||||
<f:for each="{tableRows}" key="tableRowFiledName" as="tableRowValue" >
|
||||
<tr>
|
||||
<th scope="row">{tableRowFiledName}</th>
|
||||
<solr:isString value="{tableRowValue}">
|
||||
<meilisearch:isString value="{tableRowValue}">
|
||||
<f:then>
|
||||
<td>{tableRowValue}</td>
|
||||
</f:then>
|
||||
@@ -36,7 +36,7 @@
|
||||
<f:render section="SubTable" arguments="{tableRows: tableRowValue}"/>
|
||||
</td>
|
||||
</f:else>
|
||||
</solr:isString>
|
||||
</meilisearch:isString>
|
||||
</tr>
|
||||
</f:for>
|
||||
</f:section>
|
||||
|
@@ -1,32 +1,32 @@
|
||||
<f:if condition="{showSelectOtherPage}">
|
||||
<f:then>
|
||||
<f:be.infobox title="No site could be found." state="3">
|
||||
<p>Please choose other page in the page tree, which has solr configured.</p>
|
||||
<p>Please choose other page in the page tree, which has meilisearch configured.</p>
|
||||
</f:be.infobox>
|
||||
</f:then>
|
||||
|
||||
<f:else>
|
||||
<p>When all of these steps are done check this module again.</p>
|
||||
|
||||
<f:be.infobox title="There is no site configured for your solr extension!" state="3">
|
||||
<f:be.infobox title="There is no site configured for your meilisearch extension!" state="3">
|
||||
<p>Please check the following:</p>
|
||||
<p>If you want to use solr with the TYPO3 site configuration:</p>
|
||||
<p>If you want to use meilisearch with the TYPO3 site configuration:</p>
|
||||
|
||||
<ul>
|
||||
<li>Your site has a page, marked as root page.</li>
|
||||
<li>Configure EXT:meilisearch with the TYPO3 site module.</li>
|
||||
<li>Check the reports module if any solr error is shown.</li>
|
||||
<li>Check the reports module if any meilisearch error is shown.</li>
|
||||
</ul>
|
||||
|
||||
<hr />
|
||||
<p><strong>OR</strong></p>
|
||||
<hr />
|
||||
<p>If you want to use solr with the legacy configuration (domain record and typoscript of EXTCONF setup):</p>
|
||||
<p>If you want to use meilisearch with the legacy configuration (domain record and typoscript of EXTCONF setup):</p>
|
||||
<ul>
|
||||
<li>Your site has a domain configured, please create a domain record on the root page, or configure it in "TYPO3_CONF_VARS|EXTCONF|solr|sites|###rootPageId###|domains"</li>
|
||||
<li>Your site has a domain configured, please create a domain record on the root page, or configure it in "TYPO3_CONF_VARS|EXTCONF|meilisearch|sites|###rootPageId###|domains"</li>
|
||||
<li>Your site has a page, marked as root page.</li>
|
||||
<li>Your page has included the solr typoscript configuration.</li>
|
||||
<li>You've initialized the solr connections in the backend with the menu item "Initialize solr connections"</li>
|
||||
<li>Your page has included the meilisearch typoscript configuration.</li>
|
||||
<li>You've initialized the meilisearch connections in the backend with the menu item "Initialize meilisearch connections"</li>
|
||||
<li>Afterwards please check if the reports module is showing any errors.</li>
|
||||
</ul>
|
||||
</f:be.infobox>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
|
@@ -1,13 +1,13 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<f:section name="hierarchyTree">
|
||||
<f:for each="{node.childNodes}" as="childNode" iteration="iteration">
|
||||
<div class="facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')} list-group-item" data-facet-item-value="{childNode.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: childNode)}">{childNode.label}</a>
|
||||
<div class="facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')} list-group-item" data-facet-item-value="{childNode.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: childNode)}">{childNode.label}</a>
|
||||
<span class="facet-result-count badge">{childNode.documentCount}</span>
|
||||
</div>
|
||||
<f:if condition="{childNode.childNodes}">
|
||||
@@ -27,4 +27,4 @@
|
||||
<f:render section="hierarchyTree" arguments="{node: facet, facet: facet}" />
|
||||
</div>
|
||||
</div>
|
||||
</html>
|
||||
</html>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
</div>
|
||||
<div class="facet-option-list facet-type-options fluidfacet list-group panel-collapse collapse" data-facet-name="{facet.name}" data-facet-label="{facet.label}" id="facet{facet.name}">
|
||||
<f:for each="{facet.options}" as="option" iteration="iteration">
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count badge">{option.documentCount}</span>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count badge">{option.documentCount}</span>
|
||||
</div>
|
||||
</f:for>
|
||||
<f:if condition="{facet.options -> f:count()} > 10">
|
||||
<div class="list-group-item">
|
||||
<a href="#" class="tx-solr-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'solr')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'solr')}">
|
||||
<s:translate key="faceting_showMore" extensionName="solr">Show more</s:translate>
|
||||
<a href="#" class="tx-meilisearch-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'meilisearch')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'meilisearch')}">
|
||||
<s:translate key="faceting_showMore" extensionName="meilisearch">Show more</s:translate>
|
||||
</a>
|
||||
</div>
|
||||
</f:if>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
|
||||
<div class="facet-option-list facet-type-options fluidfacet list-group" data-facet-name="{facet.name}" data-facet-label="{facet.label}" id="facet-data{facet.name}">
|
||||
<f:for each="{facet.options}" as="option" iteration="iteration">
|
||||
<div class="list-group-item facet-filter-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count badge">{option.documentCount}</span>
|
||||
<div class="list-group-item facet-filter-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count badge">{option.documentCount}</span>
|
||||
</div>
|
||||
</f:for>
|
||||
<f:if condition="{facet.options -> f:count()} > 10">
|
||||
<div class="list-group-item">
|
||||
<a href="#" class="tx-solr-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'solr')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'solr')}">
|
||||
<s:translate key="faceting_showMore" extensionName="solr">Show more</s:translate>
|
||||
<a href="#" class="tx-meilisearch-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'meilisearch')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'meilisearch')}">
|
||||
<s:translate key="faceting_showMore" extensionName="meilisearch">Show more</s:translate>
|
||||
</a>
|
||||
</div>
|
||||
</f:if>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<div class="list-group">
|
||||
<f:for each="{filteredOptions}" as="option">
|
||||
<div class="facet-option list-group-item" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<span class="facet-result-count badge">
|
||||
{option.documentCount}
|
||||
</span>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
</div>
|
||||
<div class="facet-option-list facet-type-options fluidfacet list-group panel-collapse collapse" data-facet-name="{facet.name}" data-facet-label="{facet.label}" id="facet{facet.name}">
|
||||
<f:for each="{facet.options}" as="option" iteration="iteration">
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.setFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count">({option.documentCount})</span>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.setFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count">({option.documentCount})</span>
|
||||
</div>
|
||||
</f:for>
|
||||
<f:if condition="{facet.options -> f:count()} > 10">
|
||||
<div class="list-group-item">
|
||||
<a href="#" class="tx-solr-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'solr')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'solr')}">
|
||||
<s:translate key="faceting_showMore" extensionName="solr">Show more</s:translate>
|
||||
<a href="#" class="tx-meilisearch-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'meilisearch')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'meilisearch')}">
|
||||
<s:translate key="faceting_showMore" extensionName="meilisearch">Show more</s:translate>
|
||||
</a>
|
||||
</div>
|
||||
</f:if>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -15,14 +15,14 @@
|
||||
<f:for each="{facet.options}" as="option" iteration="iteration">
|
||||
<f:if condition="{option.selected}">
|
||||
<f:then>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified active" href="{s:uri.facet.removeFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet meilisearch-ajaxified active" href="{s:uri.facet.removeFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<span class="facet-result-count badge">{option.documentCount}</span>
|
||||
</div>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<span class="facet-result-count badge">{option.documentCount}</span>
|
||||
</div>
|
||||
</f:else>
|
||||
@@ -31,8 +31,8 @@
|
||||
</f:for>
|
||||
<f:if condition="{facet.options -> f:count()} > 10">
|
||||
<div class="list-group-item">
|
||||
<a href="#" class="tx-solr-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'solr')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'solr')}">
|
||||
<s:translate key="faceting_showMore" extensionName="solr">Show more</s:translate>
|
||||
<a href="#" class="tx-meilisearch-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'meilisearch')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'meilisearch')}">
|
||||
<s:translate key="faceting_showMore" extensionName="meilisearch">Show more</s:translate>
|
||||
</a>
|
||||
</div>
|
||||
</f:if>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -38,4 +38,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -33,4 +33,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
@@ -1,13 +1,13 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<f:section name="hierarchyTree">
|
||||
<f:for each="{node.childNodes}" as="childNode" iteration="iteration">
|
||||
<div class="facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')} list-group-item" data-facet-item-value="{childNode.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: childNode)}"><f:cObject typoscriptObjectPath="lib.tx_meilisearch.pagetitle">{childNode.label}</f:cObject></a>
|
||||
<div class="facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')} list-group-item" data-facet-item-value="{childNode.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: childNode)}"><f:cObject typoscriptObjectPath="lib.tx_meilisearch.pagetitle">{childNode.label}</f:cObject></a>
|
||||
<span class="facet-result-count badge">{childNode.documentCount}</span>
|
||||
</div>
|
||||
<f:if condition="{childNode.childNodes}">
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="Document">
|
||||
|
||||
|
@@ -1,12 +1,12 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="Facets">
|
||||
<div id="tx-solr-faceting">
|
||||
<div id="tx-meilisearch-faceting">
|
||||
<s:facet.area.group groupName="main" facets="{resultSet.facets.available}">
|
||||
<div class="facet-area-main">
|
||||
<div class="solr-facets-available secondaryContentSection">
|
||||
<div class="meilisearch-facets-available secondaryContentSection">
|
||||
<div class="facets">
|
||||
<f:for each="{areaFacets}" as="facet">
|
||||
<div class="facet facet-type facet-type-{facet.type} panel-group" id="facet-accordion-{facet.name}">
|
||||
|
@@ -1,23 +1,23 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="FacetsActive">
|
||||
<f:if condition="{resultSet.facets.used -> f:count()}">
|
||||
<div id="tx-solr-facets-in-use">
|
||||
<div id="tx-meilisearch-facets-in-use">
|
||||
<s:translate key="faceting_resultsNarrowedBy">Narrowed by</s:translate>:
|
||||
<f:for each="{resultSet.facets.used}" as="facet">
|
||||
<f:for each="{facet.allFacetItems.selected}" as="item">
|
||||
<a href="{s:uri.facet.removeFacetItem(facet: facet, facetItem: item)}" class="facet remove-facet-option solr-ajaxified btn btn-circle">
|
||||
<a href="{s:uri.facet.removeFacetItem(facet: facet, facetItem: item)}" class="facet remove-facet-option meilisearch-ajaxified btn btn-circle">
|
||||
{facet.label}: {item.label}
|
||||
<i class="glyphicon glyphicon-remove"></i>
|
||||
</a>
|
||||
</f:for>
|
||||
</f:for>
|
||||
<a href="{s:uri.facet.removeAllFacets()}" class="solr-ajaxified btn btn-circle">
|
||||
<a href="{s:uri.facet.removeAllFacets()}" class="meilisearch-ajaxified btn btn-circle">
|
||||
<s:translate key="faceting_removeAllFilters">Remove all filters</s:translate>
|
||||
<i class="glyphicon glyphicon-remove"></i>
|
||||
</a>
|
||||
</div>
|
||||
</f:if>
|
||||
</f:section>
|
||||
</f:section>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="PerPage">
|
||||
<div id="results-per-page">
|
||||
@@ -16,4 +16,4 @@
|
||||
</select>
|
||||
</form>
|
||||
</div>
|
||||
</f:section>
|
||||
</f:section>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="RelevanceBar">
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="Sorting">
|
||||
<div id="tx-solr-sorting" class="secondaryContentSection dropdown">
|
||||
<div id="tx-meilisearch-sorting" class="secondaryContentSection dropdown">
|
||||
<button class="btn btn-default dropdown-toggle" type="button" id="sortDropDown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<span class=" glyphicon glyphicon-sort"></span>
|
||||
<s:translate key="sorting_sortBy">Sorting</s:translate>
|
||||
@@ -15,7 +15,7 @@
|
||||
<f:if condition="{sorting.isResetOption}">
|
||||
<f:then>
|
||||
<li>
|
||||
<a href="{s:uri.sorting.removeSorting()}" class="solr-ajaxified">{sorting.label}</a>
|
||||
<a href="{s:uri.sorting.removeSorting()}" class="meilisearch-ajaxified">{sorting.label}</a>
|
||||
</li>
|
||||
</f:then>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<f:if condition="{sorting.selected}">
|
||||
<f:then>
|
||||
<li class="active">
|
||||
<a href="{s:uri.sorting.setSorting(sortingName: sorting.name, sortingDirection: sorting.oppositeDirection)}" class="solr-ajaxified">
|
||||
<a href="{s:uri.sorting.setSorting(sortingName: sorting.name, sortingDirection: sorting.oppositeDirection)}" class="meilisearch-ajaxified">
|
||||
<f:if condition="{sorting.isAscDirection}">
|
||||
<f:then><span class=" glyphicon glyphicon-arrow-up pull-right"></span></f:then>
|
||||
<f:else><span class=" glyphicon glyphicon-arrow-down pull-right"></span></f:else>
|
||||
@@ -35,7 +35,7 @@
|
||||
</f:then>
|
||||
<f:else>
|
||||
<li>
|
||||
<a href="{s:uri.sorting.setSorting(sortingName: sorting.name, sortingDirection: sorting.direction)}" class="solr-ajaxified">{sorting.label}</a>
|
||||
<a href="{s:uri.sorting.setSorting(sortingName: sorting.name, sortingDirection: sorting.direction)}" class="meilisearch-ajaxified">{sorting.label}</a>
|
||||
</li>
|
||||
</f:else>
|
||||
</f:if>
|
||||
@@ -45,4 +45,4 @@
|
||||
</f:for>
|
||||
</ul>
|
||||
</div>
|
||||
</f:section>
|
||||
</f:section>
|
||||
|
@@ -1,11 +1,11 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="Form">
|
||||
|
||||
<div class="tx-solr-search-form">
|
||||
<s:searchForm id="tx-solr-search-form-pi-results" additionalFilters="{additionalFilters}" suggestHeader="{s:translate(key:'suggest_header',default:'Top Results')}">
|
||||
<div class="tx-meilisearch-search-form">
|
||||
<s:searchForm id="tx-meilisearch-search-form-pi-results" additionalFilters="{additionalFilters}" suggestHeader="{s:translate(key:'suggest_header',default:'Top Results')}">
|
||||
<div class="input-group">
|
||||
<f:for each="{existingParameters}" key="name" as="value">
|
||||
<f:form.hidden name="{pluginNamespace}{name}" value="{value}" />
|
||||
@@ -16,9 +16,9 @@
|
||||
<input type="hidden" name="id" value="{pageUid}" />
|
||||
</f:if>
|
||||
|
||||
<input type="text" class="tx-solr-q js-solr-q tx-solr-suggest tx-solr-suggest-focus form-control" name="{pluginNamespace}[q]" value="{q}" />
|
||||
<input type="text" class="tx-meilisearch-q js-meilisearch-q tx-meilisearch-suggest tx-meilisearch-suggest-focus form-control" name="{pluginNamespace}[q]" value="{q}" />
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default tx-solr-submit" type="submit">
|
||||
<button class="btn btn-default tx-meilisearch-submit" type="submit">
|
||||
<span class=" glyphicon glyphicon-search"></span>
|
||||
<span>
|
||||
<s:translate key="submit">Search</s:translate>
|
||||
@@ -29,4 +29,4 @@
|
||||
</s:searchForm>
|
||||
</div>
|
||||
|
||||
</f:section>
|
||||
</f:section>
|
||||
|
@@ -1,12 +1,12 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="FrequentlySearched">
|
||||
|
||||
<s:widget.frequentlySearched>
|
||||
<f:if condition="{frequentSearches}">
|
||||
<div id="tx-solr-frequent-searches" class="secondaryContentSection panel">
|
||||
<div id="tx-meilisearch-frequent-searches" class="secondaryContentSection panel">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
<span class="glyphicon glyphicon-fire"></span>
|
||||
@@ -18,7 +18,7 @@
|
||||
<ul>
|
||||
<f:for each="{frequentSearches}" as="searchedForInfo">
|
||||
<li class="{searchedForInfo.class}">
|
||||
<a href="{s:uri.search.startNewSearch(queryString: searchedForInfo.q)}" class="solr-ajaxified">{searchedForInfo.q}</a>
|
||||
<a href="{s:uri.search.startNewSearch(queryString: searchedForInfo.q)}" class="meilisearch-ajaxified">{searchedForInfo.q}</a>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
@@ -31,4 +31,4 @@
|
||||
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
@@ -1,13 +1,13 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="LastSearches">
|
||||
|
||||
<s:widget.lastSearches>
|
||||
<f:if condition="{lastSearches}">
|
||||
|
||||
<div id="tx-solr-lastsearches" class="secondaryContentSection panel">
|
||||
<div id="tx-meilisearch-lastsearches" class="secondaryContentSection panel">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
<span class="glyphicon glyphicon-time"></span>
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="panel-body">
|
||||
<f:for each="{lastSearches}" as="searchedFor">
|
||||
<li class="list-group-item">
|
||||
<a href="{s:uri.search.startNewSearch(queryString: searchedFor)}" class="solr-ajaxified">{searchedFor}</a>
|
||||
<a href="{s:uri.search.startNewSearch(queryString: searchedFor)}" class="meilisearch-ajaxified">{searchedFor}</a>
|
||||
</li>
|
||||
</f:for>
|
||||
</div>
|
||||
@@ -32,4 +32,4 @@
|
||||
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user