Dynamic Widgets Plugin & The Events Plugin Not Working Together

Home Forums Calendar Products Events Calendar PRO Dynamic Widgets Plugin & The Events Plugin Not Working Together

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #10235
    Tony
    Participant

    Has anyone been able to get the “Dynamic Widgets” plugin to work with this plugin. No matter what options we click for showing or hiding other widgets the dynamic widget is not excluding widgets we don’t want. Has anyone else run into this problem? OR is there anyone else using this plugin?

    #10253
    Rob
    Member

    From us on the tri.be team, I can confirm that I don’t believe anyone has brought this issue to my attention yet. That’s not to say it isn’t an issue though. Would be interested to hear what other users had to say on it, if anyone else has taken this route…

    Sorry I couldn’t offer up more on our end.

    #10343
    Tony
    Participant

    Interesting enough, Dynamics Widgets plugin does recognize the Events Calender as a custom post type.

    When you’re at the Events Calendar calendar view, what type of a page is that? Post or Page?

    I have a page called “Events” in my pages section. Could that end up interfering with The Event Calendar or was it automatically created by the Event Calendar?

    I’m just trying to figure out how dynamic widget might recognized the plugin.

    #10344
    Tony
    Participant

    Need to clarify something as I just tested this out. The dynamic plugin works great on the individual events for some reason. But on the events index page where it shows the calendar, the dynamic widget plugin doesn’t work on this page.

    #10360
    Rob
    Member

    Hey Tony. On the /events – the plugin by default creates a page at /events, which you can change if you want to under the Settings –> The Events Calendar page. If your page called events has the slug /events that could definitely pose an issue.

    That help? You still having issues from there?

    #12854
    Tony
    Participant

    Hi Rob, I know this is late in the game. We were side tracked on a few things. We’re still having this problem with the sidebar on the default events page.

    I’ve deleted any page that was manually created as “events” to allow for the plugin to auto-generate the events page and we’re still having this problem.

    The Dynamic Widgets plugin recognizes the custom post types, works on the interior pages but not on the events index page.

    We’d like to keep the sidebar in,unfortunately it’s showing every single sidebar due to the events page not playing well with the dynamic sidebar.

    If a fix can’t be found then where would I go to take out the sidebar on only the events page?

    Maybe you could install the Dyanmic Widgets plugin and see exactly what I’m talking about.

    #12947
    Rob
    Member

    Hey Tony. Thanks for the note; let me see if our developer Jonah has any suggestions on this. It’s hard for us to test against specific plugins due to our limited development bandwidth but maybe we can figure this out without having to do so. I’ve sent this to Jonah so he can take a look and share whatever thoughts he may have.

    #13221
    Tony
    Participant

    Thanks! That would be extremely helpful here. In the mean time is there an easy way to remove the entire sidebar on only the /events page?

    #13239
    Rob
    Member

    Hey Tony. We’ve been having quite a few discussions about this internally the past few days (as a few users other than yourself have brought it up), and as a result we’re changing how we handle template/theme integration pretty dramatically for 2.1.

    In the shorter term, would changing to a different, sidebar-free template under Settings –> The Events Calendar do the trick?

    #13690
    Tony
    Participant

    I’m playing around with the settings here. Changed to the default events template and on the Events page there’s no sidebar. Formatting of the page is a bit off with no padding, but I can deal with that through CSS.

    But on the individual event page it shows the sidebar at the bottom of the page.

    Is there a way where I can create a specific template and have it listed in the dropdown for “Events Template”? As it stands I only have “Default Page Template” and “Default Events Template”.

    The “Default Events Template” has the event as full width on both “/events” and “/event/”. Problem here is that the sidebar on the “/event/” page is showing under the event detail due to the event detail section going full width.

    I feel like I’m fixing it in one place only to have it not work in the other place. I’m tasked to get this fixed, but not exactly sure where to go.

    Any help you can provide us with?

    #13715
    Rob
    Member

    That’s a really good suggestion, Tony – I suspect there is a way to create your own event template (it’d likely be done on the theme side) but how to do it is a bit outside my area of expertise. Let me get one of our more advanced devs to see what they can offer up.

    #13784
    Tony
    Participant

    Really all I need to do is have it so that the sidebar only shows up on the individual events. The dynamic widgets plugin seems to work on the individual event page but not on the events page with the calendar view. Ultimately all I want to do is be able to control which sidebars are showing or if any are showing at all on the calendar page.

    But if going the route of creating my own custom page template maybe off a base template files for the calendar then that’s fine by me too.

    You have tutorials for other some what useful things, but I would have thought a tutorial for creating a template would have been a top tutorial.

    #13849
    Rob
    Member

    Got it. Thanks for confirming; I’ve got this off to our devs for today’s batch of threads so you should be getting a response shortly.

    #13898
    Joey Kudish
    Member

    Hi Tony,

    I’m one of the devs working on the plugin and I can offer a more complex explanation here.

    First of all, the reason you’re having difficulty using the Dynamic widgets plugin on the main events page is because of how we currently templating/loading that page. Basically we’re using the WordPress rewrite API to “hack”/add in our /events (or whatever the slug that you chose) page. We’ve since realized that this approach is flawed as it breaks certain plugins (like the one you mentioned) and various theme functions. So as Rob mentioned, in 2.1, the main events page will be an actual page (that you can see and modify inside WordPress) as opposed to a hidden page that you can’t work with. That will definitely solve your issue with the Dynamic Widgets plugin.

    That being said 2.1 doesn’t have any kind of release date yet, so it could still be a while away. So let’s try to get you a working solution in the mean time!

    In Settings > The Events Calendar you can choose which template is used to load the events page. Any custom template that you create in your theme should definitely appear in that list and can be used to display the events page. See http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates for further details on creating your own templates. That template will be used as the basis to show both the main events page and the singular event view. You can use conditional tags (see http://codex.wordpress.org/Conditional_Tags) to modify what shows up on that page based on wether you are in the main view or the singular view – the specific tag you’d want to use here is ‘is_singular()’ as described here http://codex.wordpress.org/Conditional_Tags#A_Single_Page.2C_Single_Post_or_Attachment.

    Let us know if this helps and if you have any further questions.

    Best,
    Joey

    #13904
    Tony
    Participant

    Thanks Joey for the follow up. I have it figured out. It looks like you have a way to override the default template by creating an /events folder in my theme and then copying over the event template files from the /views folder within the plugin. I went ahead and did that applying my template and layout to the single and all events templates. This did the trick as it allowed me to remove the sidebar.

    Still not the most optimal way to go about templating the events page, however it works for our immediate needs.

    2.1 of the plugin is a much needed release. Sorry to hear that there is no release date on that plugin. Please keep me up dated on the plugin release date as I would love to find a way for us to utilize Dynamic Widgets with our template for this.

Viewing 15 posts - 1 through 15 (of 16 total)
  • The topic ‘Dynamic Widgets Plugin & The Events Plugin Not Working Together’ is closed to new replies.