Main menu

Forum


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

  • Metalltony
  • Topic Author
  • New Member
  • New Member
More
8 years 2 months ago - 8 years 2 months ago #13110 by 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
Attachments:
Last edit: 8 years 2 months ago by Lyr!C. Reason: [SOLVED]

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
8 years 2 months ago #13128 by 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.7
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 Attachment:

Please Log in or Create an account to join the conversation.

  • Metalltony
  • Topic Author
  • New Member
  • New Member
More
8 years 2 months ago #13146 by Metalltony
Replied by Metalltony on topic Name of the Day after "month"(Default theme)
Thanks man. Works fine!
The following user(s) said Thank You: Lyr!C

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
8 years 2 months ago #13164 by Lyr!C
You're welcome ;-)

Latest version : iCagenda 3.9.7
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 Attachment:

Please Log in or Create an account to join the conversation.

Time to create page: 0.167 seconds

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new