Use one widget with different settings on multiple pages

Is there somewhere where I can get a list of Attributes for dynamically editing a widget in its embedded HTML link?
For example, these are the only two I can find documentation for:
data-elfsight-app-layout
data-elfsight-app-filter-dates
Surely there are more, where can I find documentation for them?

Specifically, I am trying to have the same calendar widget on two different pages - on one page it will only show upcoming events, on another page it will only show past events. I want to be able to toggle show past events in the embedded html link.

4 Likes

Hi there, @gizmologist :wave:

At the moment, it’s possible to dynamically change filters and layouts only. In your case, the only solution is to use 2 different widgets for Past and Upcoming events.

However, I’ve moved your idea to the Wishlist and if more users support it, it might be considered in the future :slightly_smiling_face:

Thank you for moving it to wishlist, I appreciate that. It sure would be nice to have the ability to control all of those things from within the embedded link code.

Two widgets sounds like a great solution. Is it possible to synchronize the events across the two widgets? (ie if I create an event in one widget, it will also be created in the second widget)

1 Like

At the moment, there is no way to sync 2 different widgets, but this idea sounds interesting and I’ve also added it to the Wishlist - Synchronize events across 2 widgets

A post was split to a new topic: One Event Calendar with different layouts

Is it possible to have one calender show on two different pages with the 2nd page/calendar only showing certain events.

1 Like

Hi there, @Shire_Talk :waving_hand:

Currently, it’s impossible to use one widget with different number of events displayed on multiple pages. This idea is already on the Wishlist and I’ve merged your comment with it :slightly_smiling_face:

Can this be updated slightly for list views?

I’d like a list view on the front page of my website that has the next 5 dates, and then a list view on a separate “Tour Dates” page that shows all dates.

1 Like

Hi there, @Jaron_Myers :waving_hand:

Unfortunately, there is no way to show different number of events on different pages using just one widget. I am really sorry!

We already have a request for this feature on the Wishlist. I’ve added your comment to the thread, where we’ll keep you updated :slightly_smiling_face:

Adding on to this. In the current form, if you could copy the style of one widget to another instead of going through and selecting the options, it’d make duplicating with the same events to another layout that can’t be dynamically changed through code super easy.

1 Like

Hi there, @FMRedHawks and welcome to the Community :waving_hand:

If you’d like to have the same style in several widgets, you can just duplicate the original widget and then adjust to your needs:

You’ve mentioned that you’d like to use the same events with the same style, but different layouts that can’t be changed dynamically.

The thing is that layouts can be changed dynamically - How to dynamically change the Event Calendar layout - Elfsight Help Center.

Please check this article and if it still doesn’t cover your needs, please describe your use case in more detail :slightly_smiling_face:

Yes, thank you. We currently use two different widgets with different layouts and different styles that have the same events but display on different pages. We use it for displaying our upcoming games with various other info (time, stadium, opposing team, etc.) in some of those other fields.

So, for example, if we need to update a game’s time, we currently need to do it twice.

If we could copy all events (or copy the style to a duplicated widget, which might be easier to develop, I’m guessing) or have them sync between widgets, that’d make it super easy to keep multiple updated with different styles.

1 Like

Got your point! I’ve added a separate request for this idea on your behalf - Sync multiple widgets to apply to the same edits to them right away.

If this idea gets more votes, we’ll try to consider it in the future :slightly_smiling_face:

1 Like