MyCalendar

Month, Week, and List calendar for displaying events on your site.

Back to MyCalendar Support

pisutero23373
pisutero23373

How can I override a component partial, for example the ListEvents? Instead of a table, i'd like to show the events in a (unordered) list. When I "fork" the component, the events disappear in the frontend.

Thanks for your great Plugin!

KurtJensen
KurtJensen

Here is the partial code for list: https://github.com/firemankurt/MyCalendar/blob/master/components/partials/list.htm

Just copy that code into a new Partial file under the CMS section of the backend. Save the partial as ListEvents/list.htm where "ListEvents" matches the name of component on page your using the List component on like:

{% component 'ListEvents' %}

Once that is working then modify this file to your liking.

Last updated

1-2 of 2