Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Calendar shows without styles
ehran
Newbie

Posts: 1
Registered: 2/1/2006
Member Is Offline
posted on 2/1/2006 at 03:31 PM Reply With Quote
Calendar shows without styles


Hello,

after struggling with the install for quite some time I finally managed to get a page showing the calendar with the following code :
<?
include '../calendar/cl_files/calendar.php';
new calendar('Demo_vertical');
?>

Should be simple... my only problem is that the calendar is showing without any style or user defined options (localisation etc...)

Can anyone help ??

Cheers,
Ehran
View User's Profile View All Posts By User U2U Member
Zeeke75
Member

Posts: 11
Registered: 12/15/2005
Location: Rochester, MN
Member Is Offline
posted on 2/20/2006 at 02:26 AM Reply With Quote

Still need help with this?
View User's Profile View All Posts By User U2U Member
Axel
Newbie

Posts: 1
Registered: 2/28/2006
Member Is Offline
posted on 3/2/2006 at 06:32 AM Reply With Quote
Calendar shows without user defined settings


host's server: UNIX type, PHP V4.4.1, safe_mode=on, register_globals=off, users don't have permission to modify php.ini

Flawless installation (after changing to absolute paths. :o) )

Got exactly the same problem. Calendar is displayed with default colors and "Times" font.

In admin panel everything works fine (including preview of layout changes), so I guess there 's nothing wrong with the general setup.

Thanking you very much in advance for your help,

Axel
View User's Profile View All Posts By User U2U Member
Zeeke75
Member

Posts: 11
Registered: 12/15/2005
Location: Rochester, MN
Member Is Offline
posted on 3/2/2006 at 02:40 PM Reply With Quote

If you are using a CSS file, try adding the follow entries to it (change the colors, font, size, etc as needed):

/*Calendar style settings*/
.Cheader
{color: #ffffff; font-family: Arial,sans-serif; font-size: 13px;}
.Cheader2
{color: #CCCCFF; font-family: Arial,sans-serif; font-size: 11px;}
.Ccur
{color: #000000; font-family: Arial,sans-serif; font-size: 11px;}
.Cbody
{color: #000000; font-family: Arial,sans-serif; font-size: 11px;}
.Cbodyh
{color: #606060; font-family: Arial,sans-serif; font-size: 11px;}
.Cwe
{color: #000000; font-family: Arial,sans-serif; font-size: 11px;}
.caltablehead{
color: #ffffff;
font-family:Arial, Helvetica, sans-serif;
font-weight:bold;
font-size:14px;
}

/*End Calendar style settings*/

If you're not using a CSS file then you'll need to add the above code to the HEAD section of the page displaying the calender.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free/Trial Script Download Free Download
Product Documentation Documentation
Documentation page
Change Log
Support Forum Support Forum
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004