Past Dates active - no

Help with installation and general calendar setttings

Past Dates active - no

Postby JohN » Mon Feb 04, 2013 5:02 pm

With the Admin option 'Past Dates active - no' the past dates and reservations still show.
Also in the demo on this website?
User avatar
JohN
 
Posts: 14
Joined: Fri Sep 30, 2011 1:42 am

Re: Past Dates active - no

Postby chris » Mon Feb 04, 2013 5:41 pm

Hi, that setting is just to prevent the past dates being "clickable", not to prevent them from being shown.

Chris
User avatar
chris
Site Admin
 
Posts: 1088
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain

Re: Past Dates active - no

Postby JohN » Wed Feb 06, 2013 12:33 am

Thanks Chris,

Sorry I misunderstood that one.
Is it possible to prevent the buttons to go further back than the present month?
User avatar
JohN
 
Posts: 14
Joined: Fri Sep 30, 2011 1:42 am

Re: Past Dates active - no

Postby JohN » Sat Feb 09, 2013 1:42 am

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 ;-)
User avatar
JohN
 
Posts: 14
Joined: Fri Sep 30, 2011 1:42 am


Return to Support

Who is online

Users browsing this forum: No registered users and 4 guests

cron