No more AM/PM styles?

Help with installation and general calendar setttings

No more AM/PM styles?

Postby sjordi » Mon Mar 28, 2011 1:04 pm

Hi,
for an unknown reason, my available booking states are only the ones for a full day.
Each state that allows half-days (previsional and booked) no longer appear.
The legend shows them as "available". The colored triangles have disappeared.
Now I have checked the CSS name in the booking states edition pages, each state has the right css name.
The css file itself is fine.
I have fully reinstalled all the files but still, only full days appear in color.
(See attach)

Could that be a glitch in the database itself?
Thanks for any help.
Steve
Attachments
calcolor.jpg
Screen shot
calcolor.jpg (8.49 KiB) Viewed 4496 times
User avatar
sjordi
 
Posts: 9
Joined: Mon Jan 03, 2011 12:58 pm
Location: Prangins, Switzerland

Re: No more AM/PM styles?

Postby chris » Mon Mar 28, 2011 1:23 pm

Hi,
You need to check the path to the background images used for these states.
This is defined in the csss files (both the admin and front-end ones).

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

Re: No more AM/PM styles?

Postby sjordi » Mon Mar 28, 2011 1:57 pm

chris wrote:Hi,
You need to check the path to the background images used for these states.
This is defined in the csss files (both the admin and front-end ones).

Chris


Hi Chris
It looks like everything is fine, otherwise would everything be screwed up?
The calendar day headers, colors, etc... all seem ok...

As you can see on the attach, the booked color, red, is fine. Isn't it define in the same exact CSS?
User avatar
sjordi
 
Posts: 9
Joined: Mon Jan 03, 2011 12:58 pm
Location: Prangins, Switzerland

Re: No more AM/PM styles?

Postby chris » Mon Mar 28, 2011 2:15 pm

It is not the css path that is wrong, rather it is the path to the background image that is wrong.
This is defined towards the top of the css file like this.
Code: Select all
/* define background image for special states - I use one single image that holds all the colors */
.cal_month ul li.booked_am,
.cal_month ul li.booked_pm,
.cal_month ul li.booked_pr_am,
.cal_month ul li.booked_pr_pm{
   background-image:url("/calendar/ac-contents/themes/default/images/bg_days.png");
   }


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

Re: No more AM/PM styles?

Postby sjordi » Mon Mar 28, 2011 4:08 pm

Wonderful,
that was the problem. I renamed the "calendar" directory and of course it didn't find it.
Now the CSS are ok. And everything is fine.
Thanks a lot.
User avatar
sjordi
 
Posts: 9
Joined: Mon Jan 03, 2011 12:58 pm
Location: Prangins, Switzerland


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests

cron