Main menu

Forum


[THEME PACK] Change date format in event

  • o_katia
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago - 11 years 2 months ago #1969 by 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.
Attachments:
Last edit: 11 years 2 months ago by Lyr!C.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 3 months ago - 11 years 3 months ago #1972 by Lyr!C
Replied by Lyr!C on 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 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 Attachment:

Attachments:
Last edit: 11 years 3 months ago by Lyr!C.

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

  • o_katia
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #1973 by o_katia
Replied by o_katia on 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.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 3 months ago #1980 by Lyr!C
Replied by Lyr!C on 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 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 Attachment:

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

  • o_katia
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #1986 by o_katia
Replied by o_katia on topic [THEME PACK] Change date format in event
Thank you! I'm looking forward to hearing from you :)

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 2 months ago - 11 years 2 months ago #2566 by Lyr!C
Replied by Lyr!C on 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 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 Attachment:

Last edit: 11 years 2 months ago by Lyr!C.

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

  • kredo9
  • kredo9's Avatar
  • Junior Member
  • Junior Member
More
11 years 2 months ago #2637 by kredo9
Replied by kredo9 on 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.
;)
The following user(s) said Thank You: Lyr!C

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

  • o_katia
  • Topic Author
  • New Member
  • New Member
More
11 years 2 months ago #2638 by o_katia
Hi,

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

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

Time to create page: 0.123 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new