How to define color's in the datum?

Help with installation and general calendar setttings

How to define color's in the datum?

Postby Plop » Thu Sep 20, 2012 9:07 am

Hello,

First i want to thank you for this great script!
But i have a (newbie) question, how can i define the color's of the calendar..?
I only see grey here...

Here is my live example:

http://www.remco-pc.nl/reserveren.html

I hope someone can help me?

Thank you very much!
Plop
 
Posts: 5
Joined: Thu Sep 20, 2012 9:04 am

Re: How to define color's in the datum?

Postby Plop » Mon Sep 24, 2012 9:19 am

Bump... ;)
Plop
 
Posts: 5
Joined: Thu Sep 20, 2012 9:04 am

Re: How to define color's in the datum?

Postby chris » Mon Sep 24, 2012 12:51 pm

H, you can changes the colors in the calendar css file.
I have taken a quick look and it looks as though the path to your background image is incorrect.

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

Re: How to define color's in the datum?

Postby Plop » Tue Sep 25, 2012 10:51 am

Thank you for your response!

But what do you mean exactly? If i'm right, i need to chance some in de CSS from the calander.
Then is this the right css...? :)

/ac-v3.03.07/ac-contents/themes/default/css/avail-calendar.css

Can you give me a bit more details? I'm kinda new in this,

Paul,
Plop
 
Posts: 5
Joined: Thu Sep 20, 2012 9:04 am

Re: How to define color's in the datum?

Postby Ed13 » Tue Sep 25, 2012 12:48 pm

Hi man, I change my colors like this in avail-calendar.css
and in admin-calendar.css
So when you go to admin panel then in Booking States-->edit--> you will se css class.
Hope this helps you
Code: Select all
/*
calendar date styles
class name must be the same as defined in admin panel
***************************/
.cal_month ul li.Closed  {background-color: #C00;}
.cal_month ul li.Arrival {background-color: #6C0;}
.cal_month ul li.Pending {background-color: #F36;}

.cal_month ul li.aseason {background-color: #F93;}
.cal_month ul li.bseason {background-color: #FC6;}
.cal_month ul li.cseason {background-color: #0F0;}
.cal_month ul li.dseason {background-color: #09C;}
.cal_month ul li.eseason {background-color: #0FF;}
Ed13
 
Posts: 6
Joined: Fri Sep 21, 2012 9:22 am

Re: How to define color's in the datum?

Postby Plop » Tue Sep 25, 2012 1:14 pm

Thank you all, now i get it! Yes now i can define the color's that i want :)

/ Hmmm i have still one little question... How do i delete the 'Available' key in the present calendar..?

http://www.remco-pc.nl/reserveren.html
Plop
 
Posts: 5
Joined: Thu Sep 20, 2012 9:04 am

Re: How to define color's in the datum?

Postby chris » Tue Sep 25, 2012 7:15 pm

You can simpoly remove the key from the calendar > index.php html code.

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

Re: How to define color's in the datum?

Postby Plop » Wed Sep 26, 2012 8:49 am

Hmm perhaps i wasn't clear enoug with my question, but you already answered in a another topic!

chris wrote:The "available" state is the default state for all dates - ie the dates that are NOT saved in the database.
You con modify the text for this state in the admin > languages section.
If you want to remove the state from the key you will need to find the code that creates the key. This can be found in the ac-includes > cal.inc.php file line 114
This is the line that you will want to remove:
Code: Select all
<li><span>'.$lang["available"].'</span></li>


Chris


Thank you for that, ;)
Plop
 
Posts: 5
Joined: Thu Sep 20, 2012 9:04 am


Return to Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron