Holiday Notice – Support Unavailable on April 18 and April 21

We just wanted to let you know that our support team will be offline on Friday, April 18th (Good Friday) and Monday, April 21st (Easter Monday) due to the holidays.
We'll be back on Tuesday, ready to assist you!

In the meantime, if you need any help, feel free to:

Amelia YouTube Channel

wpDataTables YouTube Channel

Thank you for your understanding, and we wish you a wonderful holiday weekend!

Okay
  Public Ticket #2733365
List of closed events
Closed

Comments

  • Gabriele Caroli started the conversation

    Hello,

    I'd like to have these things within the module with some workaround

    • a block for a list of events ended, eventually with pagination
    • add a file (mostly a PDF) in the even description

    Thank you

  • [deleted] replied

    Hi, Gabriele!

    Sorry for the delayed response.

    And thank you for choosing Amelia.

    1. If you want to display only past Events, you can add the same shortcode to a page, for example [ameliaevents], and add this JS to the same page as well:

    window.ameliaBooking = {
        pastEventsDays: 10,
        cabinet: {
            pastDays: 100,
            futureDays: 0,
            disableAuthorizationHeader: false
        }
    }

    In this example, pastDays is set to 100 but you can use a higher number.

    I'm afraid, it's not possible to add pagination as well. Probably it can be achieved with some custom work, but not with a workaround or simple JS.

    2. At the moment, attachments can be added only by Customers inside Amelia. So, if you want to provide some additional information, probably you can use a URL to another page by adding the <a href="url">link text</a> element to the description.

    Please let us know if that worked.

    Best Regards. 

  • gestio replied

    Hello,
    this code helps me to be able to set a default date range in the client panel. And also with css I can hide the date range and so the clients cannot navigate. All perfect.

    My question is: would it be possible that with code it only visualized the appointments of the current month? I would already hide the time interval with css.

    And if it cannot be done with an automatic command in code, could something similar to this be determined in code ?:
    if month 01 (January) futureDays: 31
    if month 02 (febrery) futureDays: 28
    etc...

    Thanks for the attention.



  • [deleted] replied

    Hi, Gestio,

    Sorry for the delayed response.

    I'm afraid, at the moment this code can display only a particular number of days. It's not possible to make it work conditionally i.e. depending on the number of days in a month. 

    Best Regards.