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:
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.
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...
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.
Hello,
I'd like to have these things within the module with some workaround
Thank you
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:
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.
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.
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.