With clean urls enabled in Drupal, clicking on the 'calendar' navigation link goes straight to my webcalendar by itself (i.e. it's not appearing inside a frame.) Also, the admin>>settings>>webcal controls don't do anything. Turning off clean urls fixes the problem, which is fine for me, but I thought I'd let you know, in case you didn't already.

Comments

incubii’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev

I have the same problem with version 5 RC1 of drupal

nancydru’s picture

I do not have this problem in 4.7.4. WC loads in the regular content area, but I don't think it's using an Iframe.

nancydru’s picture

My apologies, I just did View Source and it is indeed using an Iframe. And it is working just as I would like it to (other than not sharing user IDs with Drupal).

chlojolo’s picture

The problem is that you can't install webcalendar into the top level directory "webcal" in the drupal directory. The webcalendar module's calendar link is hard-coded to be webcal. When you are using clean urls, you try to access DRUPAL_HOME/webcal, but instead of rewriting it, the apache notices that webcal exists as an actual real live directory, and serves that instead, because the rewriterule has a two rewritecond directives that make sure the rewriting only happens if the requested file does not exist.

I moved it from webcal to webcal2 and changed the path setting in the module and it worked.

jaredwiltshire’s picture

Yep, that is what it would be.

I might change the modules call-back path the something other than webcal since a lot of people seem to have this problem.

jaredwiltshire’s picture

Status: Active » Closed (fixed)

I added a comment in the install instructions so people dont have this problem again.