Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Multiple list modes from different calendars on same page
Old 01-05-2008, 04:53 PM   #1
seastl
Calendar User
 
seastl is offline
Join Date: Nov 2006
Posts: 14
Default Multiple list modes from different calendars on same page

Hello,

I am trying to display 4 list modes on one page which originate from 3 different calendar installs. The category legend colors are incorrect on all the lists when more than one list is placed on the page. I have tried unsetting numerous variables (I thought $showCat would have done it, but no) with no success. Is there some variable that should be emptied in order to show the colors properly? If so, where in sequence? (as I may have had the right variable but in the wrong location) Any suggestions greatly appreciated!

Thanks,

Brad
 

Old 01-05-2008, 06:02 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

When using the list mode, each list template includes it's own CSS and will likely overwrite each other... You'd have to create your own templates and name all the CSS elements to be different for all of your templates.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-06-2008, 12:17 AM   #3
seastl
Calendar User
 
seastl is offline
Join Date: Nov 2006
Posts: 14
Default

Hello Gervais,

Thanks for your reply. I am already using a different style sheet, and the original header stylings are removed. I think what I am after is in:

$epcCategoryColors

Is that correct? How to unset it, and should anything else possibly be unset with it, like $epcCategories? Should it only be unset on instances 2, 3 & 4?, etc

Thanks,

Brad
 

Old 01-06-2008, 12:44 AM   #4
seastl
Calendar User
 
seastl is offline
Join Date: Nov 2006
Posts: 14
Default

I take that back - I do still have the "s2" class being assigned to the categories, but this class is not defined in any of the CSS that I can find, other than in "calendar/theme/categories/categories.css", but the values there do not correspond to my configuration. Can I assign those in the head of a template? Are the category numbers appended to "s2" to link to the actual color? In one of my calendars, they are:

$epcCategoryColors="FFFF3D[5|FF2929[6|8F8FFF[7|FFC18A[9999|";

So, would s25 equate to #FFFF3D for this calendar?

Brad
 

Old 01-06-2008, 09:44 AM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Ah, yes, categories - forgot about those. Those are set when you insert the $CSS line and are based off of a single installation.

You're really in a pickle because more than likely you'll have a few categories (across installations) that will have the same number. That will cause a conflict and the last one to be declared will override all the others. Really the only way I can imagine you being able to have different CSS would be to use iframes.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-06-2008, 11:35 AM   #6
seastl
Calendar User
 
seastl is offline
Join Date: Nov 2006
Posts: 14
Default

Thank you Gervais,

I had thought about iframe to be able to control the sizes without having to use a complex layer arrangement, but I am not a big fan of iframes either, mainly because scrolling seems so quirky. These are appearing on a home page where current events will show in lists from the three calendars - kind of a current events page.

I guess my other alternative would be to re assign some of my categories. I don't have that many events in any one calendar, so that might be the easiest. All three calendars use like-named categories and colors.

Tell me if this would work - If I assigned the same stings (containing all categories) for "$epcCategories=" and "$epcCategoryColors=" in each calendar, and just deleted the categories that are not used on two of the calendars, would that be sound enough? I'm lucky at least in that I have the same basic categories on each calendar, just using fewer cats on two of them.

Of course, I would have to go back and reassign categories to existing events, but this would likely be the most sound way to correct this, would it not?

Thanks again,

Brad
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
More links not showing on multiple calendars zimon General Support 3 02-24-2007 06:15 PM
Multiple Calendars, Same Page alanpollenz Installation / Upgrade Questions 2 11-22-2006 11:27 PM
How to Handle Multiple Flat File Calendars (Version 5) jchilders General Support 2 05-23-2006 01:06 PM
Date link to list page - not popup cantley General 1 08-16-2005 01:53 PM
Multiple different calendars on the same page anthony General Support 6 04-07-2005 06:48 PM



All times are GMT -4. The time now is 05:13 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |