As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #2842024
Customer Panel custom Date Filter
Closed

Comments

  • Andreas started the conversation

    Is it possible to customize the date filter in the Customer Panel. So to set a larger period as default.

    Or even better: show all future booked events starting from today.

  • [deleted] replied

    Hi Andreas,

    thank you for reaching out to ussmile.png

    We have a bit of a script that can allow you to create a date range:

    You can add it in Custom CSS, I believe, but it has to go in between the <script>...</script> tags:

    <script>
    window.ameliaBooking = {
        cabinet: {
            pastDays: 0,
            futureDays: 30
        }
    }
    </script>

    By entering a higher number in the futureDays line you can increase the range of days they will see in the Panel

    Custom code needs to be applied to the page where the booking form is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways. 

    If you need help with adding custom CSS to the page, please take a look at this article.

  • Andreas replied

    Hi Ivana,

    thank you. That works great!!!



  • [deleted] replied

    You are most welcomesmile.png

    If there is anything else we can assist you with please don't hesitate to open a new ticket.

    Have a wonderful day!