PDA

View Full Version : Cant see calendar?


nickpappas
10-18-2006, 07:31 AM
I got the calendar to load on the main page by changing to a .php file
But what I need is for the events to come up with ON MOUSE OVER
and then the full view of the calendar if they click on it /calendar

ve9gra
10-18-2006, 07:44 AM
Seems to work for me... I see the calendar below "WJACTV Integration - News & Weather" to the left of the three paragraphs on the right. Granted the calendar seems to be aligned to the bottom of the cell, but it is there.

nickpappas
10-18-2006, 07:55 AM
On the main pag t does not show the events like on mouse over. and when you click
on the day its not showing me anything or taking me to see the events
for the day.

ve9gra
10-18-2006, 07:59 AM
3 things...

1- You have two <body> tags towards the top of your page. This can cause you some issues.

2- The on-click popups are disabled on your calendar - that's why nothing happens when you click on the dates

3- You are missing the $OL section right after your <body> tag. This enables overLib (the mouseover popups).

If you add the $OL section, the mouseover popups should work. If you modify your config in Setup Manager to enable on-click popups, they should work too.

nickpappas
10-18-2006, 08:20 AM
ok I made the changes. WHen i add the $OL=1 it wont display the calendar anymore?

I fixed the body tag.

nickpappas
10-18-2006, 08:29 AM
The on mouse over works on the /calendar
but now isnt displaying on the main page.

ve9gra
10-18-2006, 08:39 AM
Apparently, what you did was just to add $OL=1; before the require that showed the calendar. That wasn't the right thing...

Right after your <body> tag add the following line <?php $OL=1; require("calendar/calendar.php"); ?> Further down (in your table) remove the $OL and just leave the require. This should fix you up.

nickpappas
10-18-2006, 08:45 AM
you are the man.

ve9gra
10-18-2006, 08:46 AM
:thumbs_up

nickpappas
10-19-2006, 03:59 AM
Ok, Now I might have a tiny problem.

the domain name points to a subdomain

ve9gra
10-19-2006, 07:39 AM
I'm not sure there's another resolution to this (Brian would know) but the first one that comes to mind is to have two installations of the calendar but both pointing to the same database (looks like both domains are on the same server).

Brian
10-19-2006, 02:59 PM
If you have a subdomain, your paths will change depending on which way you access it. There's really no way around this as this all happens at the server level.

You may be able to write a small script to check the address of the page being accessed, then forward to the correct/working address...