klar doch.
gerne!
Displaying results
Hallo Cleopold !
Zum Thema "AGE" ( 2 hrs ) :
https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/Functions/Stdwrap.html
und dort schau mal unter "age", ungefähr Seitenmitte,
hier wird erklärt, wie du die Ausgabe änderst oder ganz abstellst.
Zum Thema "Displaying results 8 to 8 out of 8" :
Hast du eigentlich die Extension "ts_language_de" installiert ?
Und : was läßt du eigentlich anzeigen in deinem Menüpunkt "Einsätze" ?
Kann es sein, das es Suchergebnisse sind ? "Displaying results ..." läßt irgendwie darauf schließen !
viele Grüße
jenses
Hallo Cleopold !
Hab noch was gefunden zum Thema "Displaying results ..."
The pagebrowser ca be configured with this variables:
maxPages: the maximaum number of pages that are shown in the pagebrowser
showPBrowserText = set this to '0' if you want the pagebrowser to display only numbers
tableParams: here you can add parameters for the table that wraps the pagebrowser
showResultCount: show the result count.The formating of the fonts in the pagebrowser is done by CSS. See _CSS_DEFAULT_STYLE at the end of this table for an example.
Hint: If you want to change the default texts like “previous” to something else, you can do this with the _LOCAL_LANG var. See pi/locallang for the names of the language markers.Example: (default setting)
pageBrowser {
maxPages = 10
showPBrowserText = 1
tableParams = cellpadding=2
showResultCount = 1
}
Du kannst den Text also anzeigen lassen oder abschalten.
Weiterhin steht im Manual :
the pagebrowser is now build with the pi_list_browseresults function from pi_base -> requires some new setting from TS
In dieser Datei class.tslib_pibase.php findest du wiederum folgendes :
<!--
00467 List browsing box:
00468 -->
00469 <div'.$this->pi_classParam('browsebox').'>'.
00470 ($showResultCount ? '
00471 <p>'.sprintf(
00472 str_replace('###SPAN_BEGIN###','<span'.$this->pi_classParam('browsebox-strong').'>',$this->pi_getLL('pi_list_browseresults_displays','Displaying results ###SPAN_BEGIN###%s to %s</span> out of ###SPAN_BEGIN###%s</span>')),
00473 $pR1,
00474 min(array($this->internal['res_count'],$pR2)),
00475 $this->internal['res_count']
00476 ).'</p>':''
00477 ).
00478 '
00479
00480 <'.trim('table '.$tableParams).'>
00481 <tr>
00482 '.implode('',$links).'
00483 </tr>
00484 </table>
00485 </div>';
00486
00487 return $sTables;
00488 }
Dort kannst du also den hartverdrahteten Text ändern, das gilt dann aber für deine gesamte Seite.
Ich würde an deiner Stelle im News-PlugIn bei CODE : LIST eintragen, dann taucht dieser Satz gar nicht erst auf.
viele Grüße
jenses
also die ts_language_de habe ich installiert und angezeigt wird LIST
also wenn ich die age_stWrap.age=1 ändere oder lösche
steht da plötzlich alter 1292947464532
Wo finde ich die class.tslib_pibase.php???
also die showPBrowserText habe ich einmal auf 0 gesetzt. der text steht aber immer noch da
If enabled with a "1" (number, integer) the content is seen as a date (UNIX-time) and the difference from present time and the content-time is returned as one of these four variations:
"xx min" or "xx hrs" or "xx days" or "xx yrs"
The limits between which layout is used are 60 minutes, 24 hours, 365 days,
NOTE:
If you set this property with a non-integer, it's used to format the four units. This is the default value:
" min| hrs| days| yrs"
--> age_stdWrap = "Minute(n) | Stunde(n) | Tag(e) | Jahr(e)"
Die class.tslib_pibase.php ist vermutlich irgendwo im Verzeichnis typo3/.
Korrektur : showPBrowserText = 1 / 0 macht nur "Seite 1" oder "1".
vielen Dank für deine Fragen 😉
jenses
Und noch eine andere Lösung,
gefunden auf Typo3.org >> german user list :
plugin.tt_news {
_LOCAL_LANG.de {
pi_list_browseresults_displays = Sie sehen Artikel
###SPAN_BEGIN###%s bis %s</span> von ###SPAN_BEGIN###%s</span>
}
}
und wie schon gepostet
plugin.tt_news.displaySingle {
age_stdWrap.age = Minuten| Stunden | Tage| Jahre
}
jenses
also irgendwie kriege ich das mit dem age nicht in griff. wenn ich ein noninteger eingebe, dam steht alter: 5
Hab grade eine einfache Lösung zum "Displaying results..." gefunden:
Im Template-Object Browser-Setup
plugin.tt_news.pageBrowser.showResultCount = 0
Und der Text ist weg 🙂
Spitze arnem!
Das wars.
Danke!
Hat bei mir auch funktioniert, danke.