Support

Home Forums Event Espresso Premium Visibility issue of EE with Central theme (Themeforest)

Visibility issue of EE with Central theme (Themeforest)

Posted: August 19, 2013 at 4:14 am

Viewing 16 reply threads


B D

August 19, 2013 at 4:14 am

I have just purchased and installed EE (3.1.34.1) on my site (WP 3.6.) built on Central theme (Themeforest) and I encounter the following problem: when I click the menu’s page of main event registration (the page containing [ESPRESSO_EVENTS]), I get a blank page; only the top menu remains visible. However, when I refresh/reload this blank page, I get the right page of event registration. Same for the [ESPRESSO_CALENDAR] page. The problem disappears if I switch to the default WP 3.6 theme. (My site is not yet online).

How to solve this?

Thank you in advance


Dean

August 19, 2013 at 5:45 am

Hi,

It’s hard to say without seeing the pages in question, as your site is behind a coming soon barrier. To be able to assist better, without guessing, would it be possible to see a page that is being affected?


B D

August 19, 2013 at 7:26 am

I have temporarily disabled the barrier so the site is visible now. Please let me know when you finish, so that I activate again the coming soon barrier.

Thank you in advance.


Sidney Harrell

August 19, 2013 at 12:59 pm

If the problem disappears when you switch to the default WP theme, then the problem lies with the themeforest theme. The default WP theme uses WP best coding practices, whereas many themeforest themes do not.
Which menu item is the link to the main registration page?


B D

August 19, 2013 at 1:15 pm

It is “Actualites” for the main registration page and “Calendrier” (its subpage) for the calendar page. Morever, when going on an individual event page for registration, the top menu disappears altogether as you can see.

On the individual event pages there is one more problem: the site is in French (I uploaded the .mo French file) but the diacritical French signs do not display properly, irrespective of the browser (they do display properly on all the other pages of the site though).


Sidney Harrell

August 19, 2013 at 7:47 pm

in plugins/espresso-calendar/espresso-calendar.php lines 137 and 142, try changing

wp_print_scripts

to

wp_enqueue_script

and line 147, change from

add_action("wp_footer", "espresso_init_calendar", 20);

to

add_action("wp_enqueue_scripts", "espresso_init_calendar", 20);


B D

August 20, 2013 at 3:58 am

Thank you but it doesn’t work. With this change the EE pages do not show anymore even after reloading, so I reverted to the initial situation (i.e. the main registration and calendar pages become visible only after reloading and the top menu disappears from the individual event pages altogether).

How should I proceed?


Dean

August 20, 2013 at 5:54 am

Hi,

The theme is heavily dependant upon javascript. If you actually turn off javascript your website is a blank white page.

As such there must be an issue in the loading of the javacript, as on first load the site cannot find the calendar javascript so it throws an error which stops everything from working.

As Sidney was trying to do, the only real way to get the theme and the plugin to work together would be to change the order or point where the calendar javascript loads.

As the theme is loading up a different version of jQuery than the default WordPress version it may be that the jQuery is being loaded too early/late but without seeing the code its hard to say.

The theme is not following WordPress guidelines, as such without modification to theme or plugin to change the jquery loading they will not work together.


B D

August 20, 2013 at 6:47 am

Thanks. Would temporary technical access to my ftp/file manager help to solve the issue? If yes, I can send it privately.


Dean

August 20, 2013 at 6:49 am

Sure, we can take a quick look for you, though you still may need to refer to the theme developer or even consider chanaging themes.

Please send them via https://eventespresso.com/send-login-details/

NOTE: login details need to be Admin level and FTP details are appreciated.


Dean

August 21, 2013 at 1:59 am

I tested the theme on a test server running nothing but Event espresso and the Calendar.

It worked like you are currently seeing, where the jQuery just sometimes fails. Though I was wrong about the theme loading the incorrect javascript, it is definitely not doing something right, as different aspects of the plugin failed due to jQuery not being loaded.

As such you will need to refer back to the theme developer as I am unable to pinpoint the issue.


B D

August 21, 2013 at 3:36 am

Thank you so much. I have indeed referred back to the theme support.


Dean

August 21, 2013 at 11:33 pm

Let us know how it goes please.


B D

August 29, 2013 at 3:34 am

Well, I have changed theme. There was no other solution.


Dean

August 29, 2013 at 4:07 am

Hi BD,

Sorry to hear that, but I assume everything is in order now? I have added the Central theme by Qode to our known conflicts page.


B D

August 30, 2013 at 2:41 pm

If this may be of any use I join hereafter the reply I just received from Qode in connection with Central theme (I for one have since changed theme):

“Probably you have page transitions on, so your plugin is not rendering well when ajax (page transitions) is on. This is because plugin initialisation is not in ajax.js (ajax.min.js) file, since this file is handling all functions after new page comes in.You can try to edit this file and add plugin initialization. Other way is to turn off page transitions in Qode Options.”


Dean

September 1, 2013 at 11:30 pm

Thanks, I updated the Known Conflicts to include a message about the Page Transitions.

Viewing 16 reply threads

The support post ‘Visibility issue of EE with Central theme (Themeforest)’ 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.

Event Espresso