Plans - Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist     RegisterRegister  ProfileProfile   Log inLog in
Upcoming Events Scripts

 
Post new topic   Reply to topic    Plans - Forum Forum Index » Problems
View previous topic :: View next topic  
Author Message
CoolVal



Joined: 18 Nov 2005
Posts: 14

PostPosted: Sat Dec 03, 2005    Post subject: Upcoming Events Scripts Reply with quote

I've set up the "upcoming events" using the javascript files but for some reason when on calendar is chosen, it shows the info for the other calendar and vice versa. I'm not sure why it's doing that. Is there a way for me to just show the upcoming events for only one of the calendars without the dropdown menu?
Back to top
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1499

PostPosted: Sun Dec 04, 2005    Post subject: Reply with quote

If you provide an URL, I can take a look.

You can get rid of the menu by removing the "menu_element" argument in the javascript that instantiates a new plans_upcoming_events object.

Let me know if it doesn't work. The code for upcoming events is fairly new, and may have bugs/quirks.

- Lloyd
Back to top
View user's profile Send private message
CoolVal



Joined: 18 Nov 2005
Posts: 14

PostPosted: Fri Dec 16, 2005    Post subject: Sorry So Long Reply with quote

Sorry it took me so long to get back. I've been extremely busy. Anyway, here is the URL for the page: http://www.wcnsco2007.org/member-only/fidocmemar.html. I haven't taken the menu part away yet so you can see that it shows the wrong info for the selected calendar. Once we get that figured out I'll take it away an only have one calendar's upcoming events showing. Thanks.

By the way, where exactly is the "menu_element" I have to remove? I wasn't sure about it and I didn't want to remove the wrong thing.
Back to top
View user's profile Send private message
wwt372355



Joined: 21 Dec 2005
Posts: 4

PostPosted: Wed Dec 21, 2005    Post subject: Reply with quote

I commented out this line in the upcoming_events.js and it got rid of the menu. //this.menu_anchor_element.innerHTML = menu_results; after that I hade to change this line in the java script to get anything but holidays to show. background_calendars_mode':'one_big_list it was just list.

There are still issues with the display there is no whitespace between the items in the list and the icons have borders (not sure why the HTML code makes borders by default it is stupid.) I am not very good with css but it apears this is not controlled there because I changed every border entry to 0.

The calendars are getting picked up in reverse order also.
In Table mode it shows the event time and it is 5 hours early. I thought I had to change the timezone in the calendar but that made the times in the calendar off. using the list mode to keep the wrong times off the site.

http://www.vfw9138.org/new
Back to top
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1499

PostPosted: Thu Dec 22, 2005    Post subject: Reply with quote

The just-released version 7.5.2 fixes the bug with the event times. They should appear correct in table mode.

I'm still looking at why the calendars appear in reverse order.

You can fix the image borders by adding the following to your style.css file:

Code:
img.icon {
  border:0;
}


- Lloyd
Back to top
View user's profile Send private message
wwt372355



Joined: 21 Dec 2005
Posts: 4

PostPosted: Thu Dec 22, 2005    Post subject: Thank You Reply with quote

Thank You!!!

Tables are working properly now.

Is the background color being picked up from the calendar or is that in the css I can't seem to locate it. I would like to disable it or set it for the date also.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Plans - Forum Forum Index -> Problems All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group / Oranja by Lessthaneric.net