Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: using different timezones

using different timezones 1 month 3 days ago #25723

  • dl9lc
  • dl9lc's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 2
Hey!
At first i like to thank you very much for this great component - works very well and is easy to integrate into our theme.
But there is one feature, i could not find.
We have to handle events in different timezones (local and UTC). Is there a way to mark witch timezone the event is using?
Thank you very much
vy73 DL9LC, Lena

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

using different timezones 1 month 2 days ago #25729

  • Egnarts
  • Egnarts's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 229
  • Karma: -3
  • Thank you received: 100
Hey, thank your praise.

Currently I think it is not possible show different timezones.
Take a look at the responsive version of JEM: The Responsive JEM
The following user(s) said Thank You: lokeshqbtech

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

using different timezones 1 month 2 days ago #25732

  • dl9lc
  • dl9lc's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 2
At the moment, i use the first custom field to indicate the timezone, which is displayed in the event details view so far.
But can i include a custom field in the "Basic Modul" on our homepage?
Iff you like to take a look you are welcome at Amateurfunk im Alstertal

vy 73 Lena

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

using different timezones 1 month 1 day ago #25734

  • Egnarts
  • Egnarts's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 229
  • Karma: -3
  • Thank you received: 100
Its a bit difficult, but with some programming skills you could do that.

Please try adding the following code to JoomlaRoot/modules/mod_jem/tmpl/default.php somewhere in the inner of the "foreach" loop.
echo $item->{'custom'.1};
Where 1 stands for the number of the custom field and is between 1 and 10.
The correct html formatting you should do yourself^^

Please try if that code works. I didn't test it.
Take a look at the responsive version of JEM: The Responsive JEM
The following user(s) said Thank You: lokeshqbtech

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

using different timezones 1 month 22 hours ago #25738

  • dl9lc
  • dl9lc's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 2
Hey Egnarts,
thanks a lot for your help.
I have tried to place your code at different places inside the for loop, but outside of any if elseif clause with no succsess. To get a bit more orientation i tried to place some simple echo "test" inside php tags and some stand alone Test in the html area without any change.
It seems to me as if i am in the wrong file.
I have done some experiments before at the same file, because i thought this must be the right one, but also without any succsess.
The modul i have placed on our homepage is the "JEM Basic Modul"
tnx vy 73 Lena
The following user(s) said Thank You: onlinespunky

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

using different timezones 1 month 9 hours ago #25740

  • dl9lc
  • dl9lc's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 2
ok, the good news is, i have found my fault - there was a template override left and since i manipulate this file i could find the right place to insert your snippet.
But if i do so, i get the following error message:
syntax error, unexpected '.1' (T_DNUMBER)
At the moment i feel a bit lost.
I hope someone can help me.

tnx, vy 73, Lena

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

  • Page:
  • 1
  • 2
Time to create page: 0.239 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......