ltwCalendar
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsProjectsltwCalendar

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old April 9th, 2009, 11:27 AM
Main Jane Main Jane is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Location: Green Bay, WI
Posts: 2 Main Jane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 m 2 sec
Reputation Power: 0
Arrow Integrate Calendar CSS with Master External Stylesheet

Hello, I got the calendar to load fine, was able to add events and users... Now I'm trying to integrate the calendar into my css and the standard ltw Calendar style has overridden my master external stylesheet. When I view the source code from other pages I see the standard ltw_header.php populating from somewhere. Every page has the H1 title of ltw Calendar on it. I modified the ltw_header.php, but it's not the header file showing up in the view source code. If I change the stylesheet reference in the calendar header to my master stylesheet, it blows up all the important calendar table formatting. I even tried removing the effect of the calendar files by putting an x- in front of the private and calendar folder names to disrupt the filepath, and the ltw stylesheet is still overriding my css.

Can someone explain how to join the calendar style with a master external stylesheet?

Reply With Quote
  #2  
Old May 5th, 2009, 01:48 PM
ahopetoday ahopetoday is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 2 ahopetoday User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 20 m 35 sec
Reputation Power: 0
Quote:
Originally Posted by Main Jane
Can someone explain how to join the calendar style with a master external stylesheet?


I've actually created a custom header that calls on my master stylesheet style.css. Using this method and commenting out (/* code */) ltw_style.css, I am able to have my master style sheet generate my calendar's style.

What's important to remember is that ltw_calendar utilizes its own custom classes for its style, which you should add to your master style sheet.

Code:
a.prevnext:link {}
a.prevnext:visited {}
a.prevnext:hover {}
a.prevnext:active {}

a.day:link {}
a.day:visited {}
a.day:hover {}
a.day:active {}

a.event:link {}
a.event:visited {}
a.event:hover {}
a.event:active {}

a.admin:link {}
a.admin:visited {}
a.admin:hover {}
a.admin:active {}

table.cal {}

.caption {}

.thead {}

td.cal {}

tfoot.cal {}

ul.cal {}

.cal-admin-link {}


If you view the source of your main calendar page, and use CTRL+F or Apple+F, you will find where each class is used and decide how you want to customize it.

Note: I only commented out the ltw_style.css so that I may keep it for future reference. You could delete it if you wanted to.

Reply With Quote
  #3  
Old May 5th, 2009, 06:16 PM
Main Jane Main Jane is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Location: Green Bay, WI
Posts: 2 Main Jane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 m 2 sec
Reputation Power: 0
Thanks much for taking the time to list out the calendar styles. I look forward to using your technique in future projects. By the way, the calendar is really great! It works well and is well documented for understanding how to handle it. All the best to you.

Last edited by Main Jane : May 5th, 2009 at 06:32 PM. Reason: wanted to add something

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > Integrate Calendar CSS with Master External Stylesheet


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek