Hallo zusammen,
ich habe ein kleines Problem mit indexed_search. Offensichtlich werden die Download-Links vom sb_downloader nicht indexiert und somit in der Suche nicht berücksichtigt. Benutze ich jedoch das Standard-CE "Dateilinks" werden die PDFs ohne weiteres indexiert und tauchen auch in den Suchergebnissen auf.
Im www hab ich einen Lösungsvorschlag gefunden, der aber nicht viel bringt und auch unelegant ist:
"Es lag daran das die Extension das Caching der Seiten verhindert hat. Sollte jemand das gleiche Problem haben in der Datei:
pi1/class.tx_sbdownloader_pi1.php
folgende Zeile auskommentieren
$GLOBALS["TSFE"]->set_no_cache();
-->> //$GLOBALS["TSFE"]->set_no_cache();"
Diese Ziele existiert aber leider nicht mehr. Es könnte etwas mit dem Caching zu tun haben. Hat jemand eine Idee?
Infos:
tx root
config {
doctype = <!DOCTYPE html>
doctypeSwitch = 1
xmlprologue = none
xhtml_cleaning = all
htmlTag_langKey = de
language = de
simulateStaticDocuments = 0
baseURL = http://www.domain.de/
tx_realurl_enable = 1
locale_all = de_DE
}
page {
config {
headerComment >
noPageTitle = 1
metaCharset = utf-8
additionalHeaders = Content-Type:text/html;charset=utf-8
index_enable = 1
index_externals = 1
no_cache = 0
}
}
ts indexed_search
plugin.tx_indexedsearch {
_CSS_DEFAULT_STYLE >
templateFile = fileadmin/tmpl/t3tmpl/indexed_search.html
_DEFAULT_PI_VARS.results = 5
_DEFAULT_PI_VARS.type = 1
forwardSearchWordsInResultLink = 1
result_link_target = _self
show {
rules = 0
}
search {
page_links = 5
mediaList = pdf,jpeg
}
}
ts sb_downloader
plugin.tx_sbdownloader_pi1 {
templateFile = fileadmin/tmpl/t3tmpl/sb_downloader.html
singlePID = 51
linkdescription = 1
dateformat = d.m.y
timeformat = H:i
downloadIcon >
imageDistance = 5
image {
file.maxW = 110
file.maxH = 110
imageLinkWrap = 1
imageLinkWrap {
enable = 1
bodyTag = <BODY bgColor=white>
wrap = <A href="javascript:close();"> | </A>
width = 400
height = 400
JSwindow = 1
JSwindow.newWindow = 1
JSwindow.expand = 17,20
}
}
displayCreationDate = 0
}
TYPO3-Version 4.5.3
sb_downloader 2.0.2
indexed_search 2.12.0
Viele Grüße
Itsab