Reload content in overlay
-
Hello.
I have a a little situation here where I would need to update/reload the content of an overlay when it is opened. I am currently building an event website for a small workshop/discussion event. I would like to use the posts for the single workshops and I use a plugin called "PublishPress future" to remove a category called "aktiv" so that I can have a thumbnail grid with only upcoming ("aktiv") events.
BUT that means that I need to reload my upcoming events/posts when I open the overlay so that when a visitor has the website open on his browser or phone he will only really see the upcoming (or currently running) events.
In my fantasy I would have a script that reloads the content inside the overlay when I hit my "AKTUELLES PROGRAMM" button.
Any ideas how to do that?
Here is my site in development: https://digitale2023.de/willkommen/
Here is the thumbnail grid with the upcoming events/posts: https://digitale2023.de/aktuelles-programm/Thank you! Arne
-
I am currently building an event website for a small workshop/discussion event. I would like to use the posts for the single workshops and I use a plugin called "PublishPress future" to remove a category called "aktiv" so that I can have a thumbnail grid with only upcoming ("aktiv") events.
actually i dont understand this
can you just describe the problem maybe with screenshots?
and then let me think of a solution -
Hello @arminunruh. It is not really a problem. It is a feature I would need.
I have this overlay with a thumbnail grid. That grid lists all my portfolio posts with the category "aktiv". In my case these posts are workshops as parts of the whole event. I use a plugin that removes the category "aktiv" after the workshop has finished so ut won't appear in that grid anymore. BUT if the user doesn't reload the page – for example he/she is at the event and always has the page open on his phone – he/she will not see when the grid changed because it doesn't automatically update/reload.
So my idea was to have a script that reloads (AJAX call) the content in the overlay when I open/display the overlay so it only really displays the currently active events.
-
hey i think this is a very special use case i don't think i really have time to work on this
-
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login