Posted: January 26, 2016 at 6:57 am
|
hi, i switched from EE4 to EE3 again, because of the “Event Espresso – Recurring Events” plugin. The EE4 version is really great and with EE3 i’m a little bit unhappy, because I can’t fix this issues, so I hope someone can help me 🙂 1. can’t see the start & end time http://www.suchhunde-hessen-sued.de/termine/event-registration/?ee=1 (only if i activate the reg. form. need to show it also without it) Thanks for your help! |
|
Update: |
Hi Katharina,
It is possible to move the time display out of the conditional check that check for the registration form, are you comfortable with PHP, HTML and FTP?
Can you link me to one of your events so I can view this please? The iCal times are working correctly for me so I’d like to view the iCal itself.
With EE3 you need to manually input the time – http://take.ms/oCHD7
The translations are add by the community through out glotpress project and we offer translator incentives for helping with any part of the translations. As such we currently have no plans to force users to pay for translations but I will open a discussion regarding this with the team.
You can translate them using a custom function such as: function mycustom_calendar_filter_gettext( $translated, $original, $domain ) { // This is an array of original strings // and what they should be replaced with $strings = array( 'January' => 'Jan', 'February' => 'Feb', 'March' => 'Mar', 'April' => 'Apr', 'May' => 'May', 'June' => 'Jun', 'July' => 'Jul', 'August' => 'Aug', 'September'=> 'Sep', 'October' => 'Oct', 'November' => 'Nov', 'December' => 'Dec' // Add some more strings here ); // See if the current string is in the $strings array // If so, replace its translation if ( isset( $strings[$original] ) ) { // This accomplishes the same thing as __() // but without running it through the filter again $translations = get_translations_for_domain( $domain ); $translated = $translations->translate( $strings[$original] ); } return $translated; } add_filter( 'gettext', 'mycustom_calendar_filter_gettext', 10, 3 ); That’s taken from the example posted here: https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function The original string is on the left, the translated string on the right:
You can add that to a Site Specific Plugin or your themes functions.php file. |
|
|
1. yes, i am, but not sure where i can find it month issue is fixed, thanks!!! |
|
one more question regarding “category colors” within calender overview: in the second step i have disabled the category color: but it still shows color “blue”. I thought, that if i disable it, it will take the color from the second category. |
Within /plugins/event-espresso/templates/ you will find: registration_page.php Copy both those templates to /wp-content/uploads/espresso/templates/ Within registration_page_display.php around line 130 you’ll find this:
Move that out of the
Can you take a screen shot of your event date/time section and post that here please? |
|
|
1. fixed, thanks! can i also show the “registration ends” under start “star/end date”? |
Sure, all of the variables for that display are setup within the registration_page.php file. You’ll find this:
So you can use:
To output that date.
Sorry I should have been more specific, the section I need is fro the event editor, this one – http://take.ms/DDb1f |
|
|
1. fixed, thanks! |
Hmm, ok. What is the Date and Time format set within Dashboard -> Settings -> General? |
|
|
you can see it here: http://www.suchhunde-hessen-sued.de/datei_download/date.JPG |
Hmm this is strange. The function that generates the iCal link either can not parse the dates being passed to it, or is not being pass the dates at all. Within registration_page_display.php you’ll find this line:
Just about that use Then refresh the registration page. Does that var_dump output have start_date, end_date, start_time and end_time set correctly? – http://take.ms/ZnIUq |
|
|
here is the result and it shows the corect date: Datum: 20. Dezember 2016 array(28) { [“event_id”]=> string(3) “150” [“event_name”]=> string(38) “Feste Gruppe (Trainer Chris & Malikka)” [“event_desc”]=> string(0) “” [“event_address”]=> NULL [“event_address2”]=> NULL [“event_city”]=> NULL [“event_state”]=> NULL [“event_zip”]=> NULL [“event_country”]=> NULL [“venue_title”]=> string(0) “” [“venue_address”]=> string(0) “” [“venue_address2”]=> string(0) “” [“venue_city”]=> string(0) “” [“venue_state”]=> string(0) “” [“venue_country”]=> string(0) “” [“location”]=> string(0) “” [“is_active”]=> string(1) “Y” [“event_status”]=> string(1) “A” [“contact_email”]=> string(29) “*protected email*” [“start_time”]=> string(5) “15:00” [“end_time”]=> string(5) “17:00” [“registration_startT”]=> string(5) “00:01” [“registration_start”]=> string(10) “2015-12-21” [“registration_endT”]=> string(5) “23:59” [“registration_end”]=> string(10) “2017-11-14” [“start_date”]=> string(17) “20. Dezember 2016” [“end_date”]=> string(17) “20. Dezember 2016” [“google_map_link”]=> string(86) “Karte und Wegbeschreibung” } |
Ok, this looks an issue with the formatted dates the ical is using. It appears the date() function used to create the ical can not parse the dates in the format being passed to it. So with the date format you are using and the month names being in German the function fails. I have created a ticket to investigate a fix for this. |
|
|
thanks! |
|
one more question regarding “category colors” within calender overview: in the second step i have disabled the category color: but it still shows color “blue”. I thought, that if i disable it, it will take the color from the second category. |
Hi there, You should be able to override the colors with some custom CSS. Also, there’s a filter hook for the EE3 calendar that allows for changing the order of the categories as to which one takes precedence for setting the color. You can reverse the order by adding some code like this to your website:
You can add the above to a functions plugin or into your WordPress theme’s functions.php file. |
|
The support post ‘ical / google link / translation issues’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.