Customising Advanced List Widget

Home Forums Calendar Products Events Calendar PRO Customising Advanced List Widget

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #27170
    Sumangali
    Participant

    I’d really like to completely customise the Advanced List widget, as ideally I want to have control outside just the events-advanced-list-load-widget-display template. I tried following this tutorial:
    /how-to-completely-customize-widgets/
    … and while I can see the logic and it works for me using the Next Event example, I can’t figure out how to apply the same logic to the Advanced Events List. I’m guessing there’s some extra step needed because it’s inheriting from the standard Events List?

    Thanks for a great plugin BTW, it’s saved me an unthinkable amount of work, and the documentation/forum has been invaluable 🙂

    • This topic was modified 11 years, 1 month ago by Leah.
    #27182
    Barry
    Member

    So in brief you need to take the events-advanced-list-load-widget-display.php template and place it within your theme’s events sub-directory, then customize away!

    Is there a specific problem that you can describe here?

    #27183
    Barry
    Member

    Sorry Sumangali – I completely misread your post – it’s not just a customization to the template you need right? Can you provide a little more detail though as to what is going wrong?

    Just bear in mind there is a limit to how much support we can provide here (beyond making tutorials available) since this level of customization is intrinsically bespoke by its nature.

    #27189
    Sumangali
    Participant

    Hi Barry

    Thanks so much for responding. I was thinking it would be easiest to customise the whole widget, but I appreciate that’s outside what you guys can support. The tutorial was great, and made sense, I just got stuck on how to unregister this particular widget because it overrides the standard Events List widget. Anyway, thinking laterally I can do it another way that’s much simpler. I can do most of what I want by customising events-advanced-list-load-widget-display.php and using multiple instances of the widget. I also wanted to hide the View All Events link, but I can do that with CSS if need be.

    Thanks again!

    #27195
    Barry
    Member

    No problem. One thought is, if you were getting stuck on unregistering the widget, you could leave out that step and register a new widget based on the existing one – this could simply be a new class that extends the Advanced Widget class.

    Anyway, it sounds like you’ve got a good plan to reach a working solution so hopefully it’s plain sailing from here on 🙂

    #27196
    Sumangali
    Participant

    Good idea, thanks Barry! Didn’t think of that. I think I should be okay with plan B, but good to know there’s a plan C 🙂

    #27254
    Barry
    Member

    Great!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Customising Advanced List Widget’ is closed to new replies.