1. Peter
  2. Politist
  3. Monday, 21 January 2019
Hi dear Joomshaper Team

We're using the horizontal timeline in the Politist theme and it looks GREAT!

However, we need to have the right date format and translate it into german. How can we go from

01 January, 2006

to

1. Januar 2006

?

Thanks in advance for your help.

Regards
Emanuel
Accepted Answer
Accepted Answer Pending Moderation
Hi, I guess you thought about a timeline module from BIOGRAPHY.

You have to edit that file:
modules\mod_spcampaign_timelines\tmpl\default.php

Edit & customize line 44:

<?php echo date('d F, Y', $date); ?>


It's date format from PHP
  1. more than a month ago
  2. Politist
  3. # Permalink
Responses (4)
Accepted Answer Pending Moderation
Hi Paul

Great, that's it. Thanks a lot!

Now do you know, how to translate the month names into German (de_DE) eg. "January" in the screenshot?

Best regards
Attachments (1)
  1. more than a month ago
  2. Politist
  3. # 1
Accepted Answer Pending Moderation
This is PHP case, sorry I cannot help.
But you can replace month names into month number : https://secure.php.net/manual/en/function.date.php
  1. more than a month ago
  2. Politist
  3. # 2
Accepted Answer Pending Moderation
Ok, we'll do it that way. Thanks anyway :-).

Have a nice day.
  1. more than a month ago
  2. Politist
  3. # 3


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.