Main menu

Forum


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

  • Metalltony
  • Autore della discussione
  • New Member
  • New Member
Di più
7 Anni 9 Mesi fa - 7 Anni 9 Mesi 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 7 Anni 9 Mesi 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ù
7 Anni 9 Mesi 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 3.9.3
We recommend every user to keep iCagenda updated.
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ù
7 Anni 8 Mesi 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ù
7 Anni 8 Mesi fa #13164 da Lyr!C
You're welcome ;-)

Latest version : iCagenda 3.9.3
We recommend every user to keep iCagenda updated.
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.272 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new