Okay
  Public Ticket #2814407
Front end panel showing all activities
Closed

Comments

  •  1
    Liv started the conversation

    Hi, 

    When customers go to their front end panel they often complain that there are no upcoming appointments visible. This is because the panel has a date picker which automatically provides a certain range, but the range is not long enough, so the response is 0.

    How can I remove that date picker and simply show all appointments, or at least adjust the range to let's say entire 2021?

    Cheers, L

  • [deleted] replied

    Hi, Liv,

    Thank you for choosing Amelia.

    Unfortunately, there's no option to change that in Amelia with its built-in features. 

    However, it can be achieved with an additional script. You can choose the number of past/future days for the date picker:

    <script>
    window.ameliaBooking = {
        pastEventsDays: 10,
        cabinet: {
            pastDays: 0,
            futureDays: 10,
            disableAuthorizationHeader: false
        }
    }
    </script>

    So, you can set there the number of days in the past that will be listed there with the parameter pastDays and in the future with the futureDays. It is set to 0 and 10, but you can set it to 0 and 100, for example. Just add this JS to the page with the Customer Panel and choose the number of days. 

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

    Best Regards. 

  •  1
    Liv replied

    Thanks, that works :)

  • [deleted] replied

    Liv,

    I'm glad the issue was resolved.

    Please feel free to contact us if you have any other questions.

    Best Regards.