• Resolved anjanphukan

    (@anjanphukan)


    Hi,

    I created a page called EVENTS and tried to assign the plugin’s default Eventbrite Events template to this page. But when I click the PUBLISH/UPDATE button the template automatically changes to theme’s default page template. Do you have any idea what’s going wrong with it?

    I tried it many times but didn’t work for me. That’s why I replicated the plugin’s default event listing template page in my child theme and gave it a different name. That worked for me.

    Any help will be appreciated.

    https://ww.wp.xz.cn/plugins/eventbrite-api/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Automattic

    (@automattic)

    Hm, I have no issues doing the same (create a page called events, set the template, and see events on it). When you say it didn’t work, what happened? Are there any errors?..

    Thread Starter anjanphukan

    (@anjanphukan)

    Hi, no I didn’t get any error. I created a page called EVENTS, set the template to EVENTBRITE EVENTS template and then hit UPDATE button. The page loads without any error but the template resets to DEFAULT PAGE TEMPLATE and EVENTBRITE EVENTS template is no longer selected in the PAGE TEMPLATE dropdown.

    I hope the issue is clear to you now. Please feel free to ask any further question if you have any doubt.

    Thanks.

    Plugin Author Automattic

    (@automattic)

    Hm, OK, I do understand now, I just can’t replicate it. 😐

    Since the templates are handled by the plugin and not the theme, they’re injected in a pretty hacky way into the templates dropdown – maybe another plugin interferes with that? Do you have the same problem if you deactivate plugins other than just Keyring and Eventbrite API?

    Do you have the same problem regardless of theme?

    Plugin Author Automattic

    (@automattic)

    Hi anjanphukan, still seeing issues?

    Thread Starter anjanphukan

    (@anjanphukan)

    Hi, I am not sure because I couldn’t test it. I can’t deactivate the plugins and theme in a live site. Secondly, I think this plugin doesn’t work in localhost. I couldn’t connect it to Eventbrite from localhost. But I appreciate your help. Thanks.

    Plugin Author Automattic

    (@automattic)

    Hi anjanphukan,

    The plugin does indeed work with localhost, you’ll just need to add another app key on eventbrite.com, using http://localhost/trunk/src/wp-admin/tools.php?page=keyring&action=verify&service=eventbrite (or whatever is appropriate for your environment) as the “OAuth Redirect URI”.

    Thread Starter anjanphukan

    (@anjanphukan)

    Hi,

    You are right. Now it works in localhost.

    Okay, I got the reason of the initially mentioned template change problem. It happens when I enable the Object Cache in W3 Total Cache plugin.

    Do you have any solution for this?

    Thanks.

    Plugin Author Automattic

    (@automattic)

    I’m afraid we don’t. Being a plugin (as opposed to a theme), getting the Eventbrite Events template to show up in that dropdown is by necessity quite the hack; I’m guessing that the object cache works in a way that blocks that from working.

    Thread Starter anjanphukan

    (@anjanphukan)

    Okay, do you have any suggestion, whom should I contact for this?

    Plugin Author Automattic

    (@automattic)

    While compatibility with other plugins such as this case has not been high priority (meaning, we would have no ETA for when it might be be addressed), you’re very welcome to submit an issue to the repo: https://github.com/Automattic/eventbrite-api. We’ll be happy to review any PRs that come in for it.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Cannot assign template to page’ is closed to new replies.