Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
fdddbf8c
Commit
fdddbf8c
authored
Apr 23, 2021
by
Thomas Löffler
Browse files
Fix output of extension result and activate extensions as facets
parent
295e4ead
Pipeline
#10632
passed with stages
in 7 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/t3org_layout/Configuration/TypoScript/Ext/Solr.typoscript
View file @
fdddbf8c
...
...
@@ -17,7 +17,7 @@ plugin.tx_solr {
search {
query {
allowedSites =
__all
allowedSites =
*
filter {
event = (+type:tx_sfeventmgt_domain_model_event +enddate_dateS:[NOW TO *]) OR (+type:* -type:tx_sfeventmgt_domain_model_event)
}
...
...
@@ -51,6 +51,11 @@ plugin.tx_solr {
tx_sfeventmgt_domain_model_event {
value = Events
}
tx_terfe2_domain_model_extension = TEXT
tx_terfe2_domain_model_extension {
value = Extensions
}
}
}
}
...
...
extensions/t3org_layout/Resources/Private/Partials/Solr/Result/Item/tx_terfe2_domain_model_extension.html
View file @
fdddbf8c
...
...
@@ -9,22 +9,10 @@
<div
class=
"col-12 mt-3"
>
<div
class=
"card"
>
<div
class=
"card-horizontal"
style=
"display: flex;"
>
<div
class=
"img-square-wrapper"
>
<a
href=
"{s:uri.result.addSearchWordList(url:document.url, searchWords:resultSet.usedQuery.keywords)}"
>
<f:if
condition=
"{document.media_intM}"
>
<f:then>
<f:image
src=
"{document.media_intM.0}"
width=
"300"
/>
</f:then>
<f:else>
<f:image
src=
"EXT:t3org_layout/Resources/Public/Images/NewsDefaultImages/News_Dummy.svg"
width=
"300"
/>
</f:else>
</f:if>
</a>
</div>
<div
class=
"card-body"
style=
"display: block;"
>
<h4
class=
"card-title"
>
<a
href=
"https://{document.site}/{url}"
>
{document.title} ({document.extensionKey_string
_
S})
{document.title} ({document.extensionKey_stringS})
</a>
</h4>
<p
class=
"card-text"
>
...
...
@@ -53,8 +41,8 @@
<a
href=
"https://{document.site}/{url}"
class=
"btn-primary"
>
Show extension details
</a>
<a
href=
"https://{document.site}/{extensionDownloadZipUrl_stringS}"
class=
"btn-primary"
>
Download ZIP of version {extensionVersion_stringS}
<a
href=
"https://{document.site}/{
document.
extensionDownloadZipUrl_stringS}"
class=
"btn-primary"
>
Download ZIP of version {
document.
extensionVersion_stringS}
</a>
<f:if
condition=
"{document.hasManual_boolS}"
>
<a
href=
"{document.extensionDocumentationLink_stringS}"
class=
"btn-secondary"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment