Main menu

Forum


[SOLVED] Name of the Day after "month"(Default theme)

  • Metalltony
  • Autore della discussione
  • New Member
  • New Member
Di più
10 Anni 1 Mese fa - 10 Anni 1 Mese fa #13110 da Metalltony
Hey guys!
I think the title says it all.
I'm currently setting up a homepage and I would like to have the Name of the Day after the month "tag" or before the Date.

Now it looks like this:



I would like to have it like

or



I've already found the php file but i don't know what to put in. Can you guys tell me what's the "dayname"-php tag is?

thanks
Tony
Allegati:
Ultima Modifica 10 Anni 1 Mese fa da Lyr!C. Motivo: [SOLVED]

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

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
10 Anni 1 Mese fa #13128 da Lyr!C
Hello,

This is an option to be added, in my todo list, but don't yet when i will add it...

For now, the best way could be to create a custom theme pack (or if only this change, to do the change again after each iCagenda update).

Then, you can add this to get the weekday:
<?php echo JHtml::date($evt, 'l', false); ?>
It uses Joomla date fonction for translation in current language.
"$evt" is the datetime variable of the current date (YY-MM-DD HH:MM:SS)
"l" is the php format for the date : php.net/manual/function.date.php
"false" as no need to set timezone here.

Of course, needs some styling ;-)

Hope this helps ?

Best Regards,
Cyril

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.

  • Metalltony
  • Autore della discussione
  • New Member
  • New Member
Di più
10 Anni 1 Mese fa #13146 da Metalltony
Risposta da Metalltony al topic Name of the Day after "month"(Default theme)
Thanks man. Works fine!
Ringraziano per il messaggio: 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ù
10 Anni 1 Mese fa #13164 da Lyr!C
You're welcome ;-)

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.

Tempo creazione pagina: 0.051 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new