| View previous topic :: View next topic |
| Author |
Message |
CoolVal
Joined: 18 Nov 2005 Posts: 14
|
Posted: Sat Dec 03, 2005 Post subject: Upcoming Events Scripts |
|
|
| 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 |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1499
|
Posted: Sun Dec 04, 2005 Post subject: |
|
|
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 |
|
 |
CoolVal
Joined: 18 Nov 2005 Posts: 14
|
Posted: Fri Dec 16, 2005 Post subject: Sorry So Long |
|
|
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 |
|
 |
wwt372355
Joined: 21 Dec 2005 Posts: 4
|
Posted: Wed Dec 21, 2005 Post subject: |
|
|
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 |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1499
|
Posted: Thu Dec 22, 2005 Post subject: |
|
|
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 |
|
 |
wwt372355
Joined: 21 Dec 2005 Posts: 4
|
Posted: Thu Dec 22, 2005 Post subject: Thank You |
|
|
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 |
|
 |
|