Warning: Declaration of PortfolioWalker::start_el(&$output, $category, $depth, $args) should be compatible with Walker_Category::start_el(&$output, $data_object, $depth = 0, $args = Array, $current_object_id = 0) in /home/webundso/public_html/webundso.ch/wp-content/themes/rivers/library/includes/portfolio_walker.php on line 4

Warning: Declaration of PortfolioWalker2::start_el(&$output, $category, $depth, $args) should be compatible with Walker_Category::start_el(&$output, $data_object, $depth = 0, $args = Array, $current_object_id = 0) in /home/webundso/public_html/webundso.ch/wp-content/themes/rivers/library/includes/portfolio_walker.php on line 37
TYPO3: News deutsches Datum - webundso GmbH - Internet-Agentur für TYPO3 und WordPress

Wenn man die neue News Extension von Georg Ringer verwendet und das Datum auf deutsch anzeigen möchte, greift der integrierte Fluid-Viewhelper nicht.

Abhilfe schafft ein Typoscript-Schnipsel:

1
2
3
4
5
6
# localize date format, used within the fluid templates
lib.ll_date = TEXT
lib.ll_date {
  current = 1
  strftime = %d. %B %Y
}

welches dann mit
<f:cObject typoscriptObjectPath=“lib.ll_date“ data=“{f:format.date(format:’U‘ date:'{newsItem.datetime}‘)}“ /> 

eingebunden wird.

Gefunden bei Felix Nagel

 

Kommentare (3)

  1. sushie.net" rel="external nofollow">sushie.net Antworten

    März 18, 2013 at 22:59

    oder einfach die datumsfunction der news-ext:
    ————-
    <n:format .date strftime=“1″ format=“%d. %B %Y“>{newsItem.datetime} </n:format>
    ————-
    direkt im template ,)

  2. Andreas Keck" rel="external nofollow">Andreas Keck Antworten

    Mai 29, 2013 at 11:00

    Die korrekte Schreibweise ist:
    ——————
    <n:format.date format=“%d. %B %Y“>{newsItem.datetime}</n:format.date>
    ——————
    Wobei strftime=”1″ der Default Wert ist und auch weggelassen werden kann.

  3. Jimit Antworten

    Okt. 04, 2013 at 11:14

    jimit dude…
    it’s works for me…

Kommentieren?