josjo
Forum Replies Created
-
What version of PHP are you using? The DateTime class doesn’t exist before version 5.2.
Can you check if you get any JavaScript errors when you view the calendar page?
What theme are you using?
Can you name one or two plugins that works with WPML? Preferably plugins that work with dates.
The original text is correct. I have corrected the translation error and updated the translation for version 1.2.1. You can find it here.
There are three places in the Arras theme where get_the_excerpt() is being called that can cause problems:
functions.php: arras_document_description() and arras_add_facebook_share_meta()
thumbnails.php: arras_get_thumbnail()
@sonicgt
The one that is causing problems on the page you linked to is arras_add_facebook_share_meta(). It needs the same workaround as arras_document_description(). Just wrap the line that call get_the_excerpt() insideif ( get_post_type() != 'ai1ec_event') { }This is obviously not an ideal solution since it has to be maintained.
@itemm & @yani
When i said “page layout” i meant the html page that is rendered by single.php, not the WordPress Page (page.php).@itemm
The theme you are using is proprietary (Polyon) so I can’t download it and make the changes. The only advice i can give you is to edit single-ai1ec_event.php until it looks the way you want it.I may have translated the button text wrong, but the original text is “Flushed %d events”. Shouldn’t it be “Flush” not “Flushed” if it’s an action? Past tense indicate that it already happened.
Have a look at my answer in this thread:
Yes you can. Go to your theme folder and make a copy of single.php. Name the new file single-ai1ec_event.php and edit the file to remove the sidebar. You may have to change the page layout somewhat to get full with.
Maybe you could use
Ai1ec_Calendar_Helper::get_events_betweenand set start time to today and end time to a date far away in the future. This way you also get the events sorted correctly (by start date, not by post date).Yes, this is a known problem with some themes. Have a look at this post:
http://wordpress.org/support/topic/plugin-all-in-one-event-calendar-duplicate-code-inserted-broken-google-map-displayFor an explanation of the problem read my comment on ticket #190.
@oc2ps:
As I said before I would like to help out, but it’s impossible without WPML installed and I can’t get it because I’m not a plugin or theme developer.The date you enter is validated as soon as you leave the text box. Since validation fails and the popup calendar doesn’t show I think you have another javascript throwing errors somewhere. Open the developer window in your browser and see if there are any javascript errors.