PDA

View Full Version : Can someone please help me (Papa?)


WalstonNet
03-15-2004, 10:45 PM
I was trying to get the calendar height to be the same as the calendar width. I hadn't seen any done this way until I stumbled on a post that showed one which is at http://www.intermedia-technologies.com/cal...r/calendar.php4 (http://www.intermedia-technologies.com/calendar/calendar.php4)

Does anyone know how to accomplish this? I just can't figure it out. I'm sure it's something simple, but I'm stumped! :(

Also on that same calendar, they've gotten rid of the [x] in the top corner of the window and instead of having to go to the [x], you just have to take your mouse off of the event. Does anyone know how to accomplish this as well? I think it works much smoother that way! :)

I just purchased the calendar this morning and got it installed today. Everything is installed ok and works however, when putting the mouse over a date with an event I get a javascript error, actually two! The first one says width undefined (even though it is defined) and the second one says object expected. I get these errors when viewing the calendar on the admin page and on my calendar page but on the setup page it works and I don't get any errors.

Would someone be so kind as to look at my calendar and see if you can see anything wrong? I didn't make any modifications (YET) and just want it to work.

Also for some strange reason, when viewing the calendar on the setup page (setup & configuration) the background images/table borders/text styles, etc show up but when viewing the calendar on my page, or on the admin page (where you add/delete/modify events) the background images/table borders/text styles, etc don't show up. Anyone know why this might be?

Any help anyone could offer would be GREATLY APPRECIATED. I need to get this working properly right away as it's on a clients site who is on a time frame.

The calendar is at http://www.vernalchamber.com/calendar.php (There's only an event on 3/27 right now)

Thanks so much everyone!
Monica

WalstonNet
03-16-2004, 01:51 AM
Also for some strange reason, when viewing the calendar in the admin section (where you add/delete/edit events) the background images show up but when viewing the calendar on my page, the background images don't show up. Anyone know why this might be?

Another thing that's weird about this is that the background images, table borders and font styles etc don't work on the calendar or in the admin section, it's like it can't find the stylesheet even though all of the paths to it are correct. For some reason, it looks perfect when logging into the setup screen. I'm assuming this means it just can't find the stylesheet on any of the pages where the calendar is shown except for in the setup page.

Can someone please help??? I'm desperate and on a tight time-frame.

Thanks!

WalstonNet
03-16-2004, 04:40 AM
Ok, I was able to figure out how to modify the table height, so that problem is solved. :)

I was also able to fix the background images and now they work in all calendars.

Now, I just need to fix the following problems:

1. I'd like to get rid of the [x] in the top corner of the window to eliminate having to go to the [x] to close the popup, so you just have to take your mouse off of the event to close the popup.

2. On the calendar page, I am still getting errors when mousing over the dates (and the popups don't show up). I only get these errors on my calendar page. I don't get them on the calendars that display on the admin or setup page. The first error says "width is undefined" (even though it is defined) and the second one says "object expected".

Can someone PLEASE help me with the two above problems?

I also noticed that on the popups, the date is a little messed up. It is missing a space, which is no big deal usually, but it's kinda driving me nuts! LOL! :rolleyes:

It is formatted as: March 27,2004 but it should be formatted as: March 27, 2004 (there needs to be a space in between the comma and the year). Does anyone know how to fix this?

Then, on the previous/current/next links, does anyone know how to change those to use images for the links? I saw one person do it and it looked a lot nicer. I kinda want to change those to image links, but if I can't I'd at least like to make sure that the text is centered. Right now it's a little off. The "Current Month" link isn't centered evenly between the between the previous and next links. I think it looks funny. Does anyone know where to go to edit that. I looked everywhere but couldn't find it.

Lastly, for some reason the calendar is inserting an extra un-needed row at the bottom of the calendar. Anyone know how to fix this?

Any help would be GREATLY APPRECIATED.

Also, I moved the calendar page, it is now at http://www.vernalchamber.com/escal/calendar.php

I really hope someone can help me. Thanks so much for reading my post!!!

Monica

ve9gra
03-16-2004, 06:32 AM
Fix for your problem #2....

<script language="JavaScript" src="/home/vernalch/public_html/escal/overlib_mini.js"><!-- overLIB &copy; Erik Bosrup --></script>

That's wrong... you'll need to open showCalendar.php and make sure that your serverPath = "/home/vernalch/public_html/escal/" and that your urlPath = "/escal/"

That should fix your problem....

As for your #1 question.. that was an earlier version of escal... and that's how the overLib behaved. I'm not exactly sure how to modify it to make it do like the earlier version...

After you modify the paths, it will also straighten up your .css, because right now it's not being used (wrong path and all...) so it might also fix your date format and the navigation table problems... let us know how you make out.

Brian
03-16-2004, 09:48 AM
To make the mouse-overs float with the cursor, in the escal.php file, search for and delete the two instances of ",STICKY" (without the quote marks). Then edit the escalEVO.php file, search for and remove "[x]".

ve9gra
03-16-2004, 01:16 PM
That's good to know Papa! :D

Brian
03-16-2004, 01:22 PM
Version 5.3 (which is in development now) will allow you to make these changes from within the setup and configuration manager. :D

Brian
03-16-2004, 01:59 PM
I agree with ve9gra. There is something amiss with your $urlPath in the showCalendar.php file. It should be "/escal/".

Is that what it is set to?

Brian
03-16-2004, 05:12 PM
The path in your configuration has been corrected and the mouse-overs work now. :D

BTW, nice theme on the calendar. If you will, PM me your CSS file so others can enjoy your modification.

ve9gra
03-16-2004, 05:57 PM
you still have a "problem" with your navigation table...

for some reason your calender's width is 602 and your navigation table is only 300... if you'd have it set to the same width as the calender and fix the aligns for the <td>s so that they are respectively "left", "center" and "right" then your previous, current and next would show up at their proper location.