Main menu

Forum


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

  • Metalltony
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 7 ans 7 mois - il y a 7 ans 7 mois #13110 par 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
Pièces jointes :
Dernière édition: il y a 7 ans 7 mois par Lyr!C. Raison: [SOLVED]

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 7 ans 7 mois #13128 par Lyr!C
Réponse de Lyr!C sur le sujet Name of the Day after "month"(Default theme)
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.2
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Metalltony
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 7 ans 7 mois #13146 par Metalltony
Réponse de Metalltony sur le sujet Name of the Day after "month"(Default theme)
Thanks man. Works fine!
Les utilisateur(s) suivant ont remercié: Lyr!C

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 7 ans 6 mois #13164 par Lyr!C
Réponse de Lyr!C sur le sujet Name of the Day after "month"(Default theme)
You're welcome ;-)

Latest version : iCagenda 3.9.2
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.123 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new