Forum Replies Created
-
AuthorPosts
-
[email protected]
ParticipantAs I can't edit the message with the link to the actual page anymore: The code adds today's date instead of the date set with the date picker. As the website is live I reverted everything to simply putting the date in numbers instead of month names.
[email protected]
ParticipantOh my. Now I get where the code is supposed to go. Forget that screenshot. I put your code into the view and replaced {{ post.erster_termin | date( 'd. F Y' ) }} with it.
However, it now displays Mai (May) instead of July. German, but two months off. The content of the field hasn't changed.
[email protected]
ParticipantAaah, I see now that I should have included the field id instead of "field_id". My bad. However, it still isn't working. There is a new fourth screenshot in Screenshots.
This is the currently active code. I also tried your second line. There are actually two date fields, so I used the code twice.
The page displaying the result is here: https://klang-entspannung-ruhe.de/lachyoga-jung-und-gesund-bleiben-durch-lachen/
It is still "July".
[email protected]
ParticipantThese are the View code and its settings and the front end output. I copied your code before the View code and that did not change anything. You can see the word "July" in the front end. "August" is the same in both languages.
[email protected]
ParticipantI thought so, but that didn't work.
[email protected]
ParticipantThanks for the reply. Where does that code go?
-
AuthorPosts