Main menu

Forum


[THEME PACK] Change date format in event

  • o_katia
  • Autore della discussione
  • New Member
  • New Member
Di più
13 Anni 9 Mesi fa - 13 Anni 8 Mesi fa #1969 da o_katia
[THEME PACK] Change date format in event è stato creato da o_katia
Hello,

Currently in the events I have a date in the english format 03 Sau 2012 and I need to make it in Lithuanian date format 2012 sausio 3 d. I've tried almost everything, checked all icagenda code but couldn't find how can I change that...

Here is the screenshot: in red box is how it is now and in green - how I want it to be.

Please help me.
Allegati:
Ultima Modifica 13 Anni 8 Mesi fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
13 Anni 9 Mesi fa - 13 Anni 9 Mesi fa #1972 da Lyr!C
Risposta da Lyr!C al topic [THEME PACK] Change date format in event
There are some pre-formated Date Format in the menu-link options.

But i will see if i can add a field to personnalize more date format, or i can add for a future version (not the next to come soon... but after) a new format needed for your country.

So, you need Year Month (full) day and day in the week ?

(currently, you have Year Month (short) day as available.)

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Allegati:
Ultima Modifica 13 Anni 9 Mesi fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • o_katia
  • Autore della discussione
  • New Member
  • New Member
Di più
13 Anni 9 Mesi fa #1973 da o_katia
Risposta da o_katia al topic [THEME PACK] Change date format in event
Thank you for your quick response. I tried to change date format in the menu but it didn't affect the event date format.
I need Year Month (full) and day. "d." after day number means day in short :) and I really need "d." would be added after day number like in "2012 sausio 3 d."
And also would be great if day number wouldn't contain 0 before (not 03 but 3).
I hope I'm asking not too much... Maybe you could tell me where in the code can I change that?
Thank you.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
13 Anni 9 Mesi fa #1980 da Lyr!C
Risposta da Lyr!C al topic [THEME PACK] Change date format in event
blanck theme pack is not ready, but when it does, i come back to tell you how to create your own theme, and call the different value for dates ;)

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • o_katia
  • Autore della discussione
  • New Member
  • New Member
Di più
13 Anni 9 Mesi fa #1986 da o_katia
Risposta da o_katia al topic [THEME PACK] Change date format in event
Thank you! I'm looking forward to hearing from you :)

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
13 Anni 8 Mesi fa - 13 Anni 8 Mesi fa #2566 da Lyr!C
Risposta da Lyr!C al topic [THEME PACK] Change date format in event
It was long, but now online !

You can download the YOUR_NAME theme pack (or ic_rounded) in the Templates menu.

There's now a support menu, with tutorial videos, and a documentation space in progress.

So, first, follow instructions (video and doc) to create your personal Theme Pack.

In the file of YOUR_THEME i have added a lot of information to help to understand the structure.

For example, to add the " d." after date in event details, you can edit line 58 of your_theme_event.php by this :
<?php echo $item->nextDate; ?> d.


Hope this can help you! B)

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Ultima Modifica 13 Anni 8 Mesi fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • kredo9
  • Avatar di kredo9
  • Junior Member
  • Junior Member
Di più
13 Anni 8 Mesi fa #2637 da kredo9
Risposta da kredo9 al topic [THEME PACK] Change date format in event
I have used code:
<?php echo $item->year.'. gada '.$item->day.'. '.$item->month; ?>
for latvian construction
2013. gada 13. februāris

Maybe this help to another users make custom date formats.
;)
Ringraziano per il messaggio: Lyr!C

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • o_katia
  • Autore della discussione
  • New Member
  • New Member
Di più
13 Anni 8 Mesi fa #2638 da o_katia
Hi,

Thank you both, that's exactly what I've needed! :woohoo:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Tempo creazione pagina: 0.059 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new