Posted: December 24, 2014 at 7:23 am
|
Hi, |
Hi Benjamin, It looks like you have something that’s concatenating the JavaScript on the page (Pagespeed?) which may be putting the scripts in the wrong load order. This is the error when I view the page in the console:
If you turn off the pagespeed feature where it’s concatenating the scripts, does the issue persist? |
|
|
Hi, |
Hi, it looks like there is an option to exclude certain pages through the service: https://developers.google.com/speed/pagespeed/module/restricting_urls — |
|
It’s also possible to configure pagespeed so that the scripts load in the correct order. For example, some scripts need to load in the head. If a script that is required to load in the head of the document is changed to load in the footer, it won’t be loaded in time for its dependent scripts. If you use Pagespeed, that’s fine, but you will need to be sure to configure things correctly so that scripts load in the correct order. Otherwise, some scripts will not work. |
|
|
Have you any idea which ones are required in the head section for EE4 ? |
|
By the way, why are dates shown as English dates, while they look OK in the CPT or in my wordpress in general? |
Hi Benjamin, The scripts that need to run from the header will vary depending on which theme you have installed. You can find out where the scripts normally load by temporarily deactivating pagespeed’s concatenation. Once you have that information, you can configure pagespeed so that the scripts load where they need to. The reason the template doesn’t translate the dates is it doesn’t run the date_i18n() function. We’ll be sure to add date_i18n() to the next version. In the meantime, you can add it by opening up the table template file and change where it says
and add the following near the top of the file: // Options $date_format = get_option( 'date_format' ); $time_format = get_option( 'time_format' );
|
|
Hi there, The fix for the issue you reported here is included in the update to the Events table template plugin (version 1.3.1.p). |
|
The support post ‘Problem with EE table template’ 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.