July 9, 2013 at 9:06 am #54023
Someone could help to fix this issue?
I see “undefined” tags everywhere in my Community Events calendar while I haven’t any problem with the date picker in my Events Calendar PRO.July 9, 2013 at 5:04 pm #54198
Can you share a URL so I can see this first hand?July 10, 2013 at 6:59 am #54264July 10, 2013 at 8:34 pm #54428
Unfortunately it seems I need a username/password to view that form. What I’m thinking, though, is that this simply must be a conflict with another plugin or with your theme.
When you opened this thread you noted that you had tried both deactivating other plugins and switching to a default theme: did following these steps allow you to narrow this down either to a conflict with your theme or with a specific plugin?
Thanks!July 11, 2013 at 8:42 am #54520
Yes, I tried, and I excluded problems with other plugins. In twentyeleven there is no problem. In my plugin instead I have problems with the date picker only on the “Add” page of Community Events, no problems with the date picker in backend or in the events search engine of Events Calendar Pro.
Does Community Events use a different date picker from Community Events Pro?
If you think so, could you suggest how to use the same?
Thanks for your patience.July 11, 2013 at 9:49 am #54538
OK, so if it’s definitely specific to your theme we need to try and narrow down the cause.
Would it be possible to grant (temporary) access so I can view the community events submission form? I would only need a basic login in the first instance, not an administrative login.July 11, 2013 at 1:24 pm #54602July 12, 2013 at 3:16 pm #54878
Do you have any custom code inside that theme (perhaps added to functions.php) that localizes strings?July 13, 2013 at 3:14 am #55019July 13, 2013 at 11:17 am #55037
Barry, I noticed that in line 109 of your file
there is an unknown value named “$EventStartDate”, could you tell me where is it defined? Then, in line 111 and 131 is specified this date format: “YYYY-MM-DD”. This is not corresponding to the italian date format (which is day/month/year) but if I change it in code, nothing happens in frontend.
This misconfiguration probably causes even another issue: when a user sets a start/end date for his event and then I open it with my administrator rule in EventsCalendarPro, the date doesn’t appear anymore, as showed in this screenshots:
I think we are near to solution, but I need your help to fix it.July 15, 2013 at 8:47 am #55206
So with regards to the original issue with the date picker (and its “undefined” labels) I’m going to pull in another team member to assist with this. My hunch is that it’s a localization issue, but I’m not 100% sure – so please bear with me a little longer.
I noticed that in line 109 of your file
there is an unknown value named “$EventStartDate”, could you tell me where is it defined?
Yes, it’s defined in TribeEvents::EventsChooserBox() (which lives in the-events-calendar/lib/the-events-calendar.class.php) and that in turn is simply pulling it from the relevant post meta field.
Then, in line 111 and 131 is specified this date format: “YYYY-MM-DD”. This is not corresponding to the italian date format (which is day/month/year) but if I change it in code, nothing happens in frontend.
So if you mean this code:
<span class="helper-text hide-if-js"><?php echo __( 'YYYY-MM-DD', 'tribe-events-community' ); ?></span>
Then no, changing that won’t impact the actual date format – that is simply a piece of helper text to tell people the expected format if entering it manually.
I hope that helps you with those specific questions – and again if you can wait a little longer I’m just going to try and get some assistance from another team member on this one.July 15, 2013 at 8:50 am #55207
If possible, can you also share your theme as based on your earlier comments it sounds like that has some bearing on the problem?
If you could share it in a private reply, ideally by linking to a .zip file hosted either with a service like droplr.com or else simply by uploading it to your WordPress site and sharing the link that way, that would be great.
Thanks!July 15, 2013 at 2:12 pm #55269July 15, 2013 at 3:33 pm #55287
Thank you: I’m going to share the theme (on our internal issue tracker) with one of our developers so he can make his assessment – as soon as he gets back to me I will update you, or may jump into the thread himself 🙂July 19, 2013 at 12:41 am #56052
Hi Barry, have you any news for me? I’m going to publish my site in few days. Thank you.
- The topic ‘Undefined tags in day picker’ is closed to new replies.