End of Support for Joomla 3 - Forum closed

RoksProcket Mosaic: Format des Erstell-Datum

RoksProcket Mosaic: Format des Erstell-Datum was created by r.renner

Posted 6 years 1 month ago #20059
Hi, ich verwende das fan-Template und habe eine Galerie mit RokSprocket/Mosaic angelegt. Sehr schön. Hier soll das Erstell-Datum angezeigt werden. Also habe ich bei "Article Details" ausgewählt: "Show only date". Das Datum wird leider in einem Standardformat der Art yyyy-mm-dd hh:MM:ss (Bsp. 2018-01-20 09:27:58) angezeigt. Wie bekomme ich ein Format der Art dd.mm.yyyy (Bsp. 20.01.2018) her. Ich nehme an, es hat was mit sprachspezifischen Einstellungen zu tun.
Siehe ess.karlsruhe.de . Die Mosaic-Galerie befindet sich gleich auf der Startseite.
MfG Mki

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic RoksProcket Mosaic: Format des Erstell-Datum

Posted 6 years 1 month ago #20062
Hallo, nicht ganz so einfach.
Öffnen sie das File > ...\jp-fan\roksprocket\layouts\mosaic\themes\default\item.php
Ersetzen sie

<span class="date"><?php echo $item->getDate();?></span>

mit

<span class="date"><?php echo JHtml::_('date', $item->getDate(), JText::_('DATE_FORMAT_LC3')); ?></span>

Please Log in or Create an account to join the conversation.

Replied by r.renner on topic RoksProcket Mosaic: Format des Erstell-Datum

Posted 6 years 1 month ago #20129
Danke für die schnelle Antwort. Das funktioniert.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License