Page 1 of 1

Past Dates active - no

PostPosted: Mon Feb 04, 2013 5:02 pm
by JohN
With the Admin option 'Past Dates active - no' the past dates and reservations still show.
Also in the demo on this website?

Re: Past Dates active - no

PostPosted: Mon Feb 04, 2013 5:41 pm
by chris
Hi, that setting is just to prevent the past dates being "clickable", not to prevent them from being shown.

Chris

Re: Past Dates active - no

PostPosted: Wed Feb 06, 2013 12:33 am
by JohN
Thanks Chris,

Sorry I misunderstood that one.
Is it possible to prevent the buttons to go further back than the present month?

Re: Past Dates active - no

PostPosted: Sat Feb 09, 2013 1:42 am
by JohN
In a previous version of AAC that I installed on a website I forgot about, it did work.
I traced it down to the file mootools-cal-public.js.

In the current version of AAC this file has the same version nr. 3.03
However the old version had the same nr but had 90 rows code more.

In the old version the function function calendar_nav() included:
Code: Select all
//   deactivate prev button on load as the user can't see months previous to today
      btPrev=document.id('cal_prev').setStyle("opacity",0);


That made it work as it should; past months are not shown.
You'd not want you competition to see how many rentals you had last year.

I will try my utmost to include that in the latest file to. Let's hope I succeed ;-)