Home › Forums › Calendar Products › Events Calendar PRO › Customising Advanced List Widget
- This topic has 6 replies, 2 voices, and was last updated 13 years, 6 months ago by
Barry.
-
AuthorPosts
-
October 25, 2012 at 4:18 am #27170
Sumangali
ParticipantI’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.
October 25, 2012 at 7:43 am #27182Barry
MemberSo 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?
October 25, 2012 at 7:45 am #27183Barry
MemberSorry 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.
October 25, 2012 at 8:08 am #27189Sumangali
ParticipantHi 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!
October 25, 2012 at 8:57 am #27195Barry
MemberNo 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 🙂
October 25, 2012 at 9:00 am #27196Sumangali
ParticipantGood 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 🙂
October 26, 2012 at 9:36 am #27254Barry
MemberGreat!
-
This topic was modified 11 years, 1 month ago by
-
AuthorPosts
- The topic ‘Customising Advanced List Widget’ is closed to new replies.
