help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
using different timezones
using different timezones
5 years 9 months ago
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
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.
Re: using different timezones
5 years 9 months ago
Hey, thank your praise.
Currently I think it is not possible show different timezones.
Currently I think it is not possible show different timezones.
Please Log in or Create an account to join the conversation.
Re: using different timezones
5 years 9 months ago
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
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.
Re: using different timezones
5 years 9 months ago
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.
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.
Please try adding the following code to JoomlaRoot/modules/mod_jem/tmpl/default.php somewhere in the inner of the "foreach" loop.
Code:
echo $item->{'custom'.1};
The correct html formatting you should do yourself^^
Please try if that code works. I didn't test it.
Please Log in or Create an account to join the conversation.
Re: using different timezones
5 years 9 months ago
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
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
Please Log in or Create an account to join the conversation.
Re: using different timezones
5 years 9 months ago
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
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.
Time to create page: 0.708 seconds