Topic: Event window popup from iframe-display is empty (blank)

Accessing the full calendar with an "a-tag" hyperlink works as it should.  Clicking on an event pops up the event window showing the details of the event.  But though the same calendar with iframe and display3a displays the appropriate events, clicking on an event pops up an empty event window.

I have limited access to the server that users see so the hyperlink and iframe go to my own server.  LuxCal is on my own server with its database in a non-web accessible area.

The top line of the normal event window from the hyperlinked full calendar shows the URL of my server.  The top line of the iframe Display event window popup (empty) is the user accessible server URL.

Using getcwd() both index.php and display3a.php are executing from the root directory of LuxCal on my own server.

I would appreciate any help even just ideas about what is going on here.

Many thanks!!
d

Re: Event window popup from iframe-display is empty (blank)

Hi David,

I had a careful look at the problem and I think you ran into a bug which has already been solved for the next calendar version 4.7.6.
You can fix this for your calendar version 4.7.5 by editing the calendar file "common/toolbox.js" and changing line 128 from . . .

    pars.cal1x = calID;

to . . .

    if (typeof calID !== 'undefined') { pars.cal1x = calID; } //if defined, use calID; but don't store in session

Thereafter the problem should be solved.

Roel

3 (edited by lucas 2019-08-28 23:45:56)

Re: Event window popup from iframe-display is empty (blank)

Hi Roel,

On Brüder-Grimm-Schule in the right column, you will find LuxCal display 3A implemented.

When clicking on individual listed events, each time a pop-up window appears, but all these pop-up windows are empty.

As proposed by you, I already changed line 128 of the toolbox.js file into the code-line you proposed.
But that did not do the trick, because each pop-up window still is empty.

Any suggestions how to solve? Thanks in advance for your reply.

Regards, Lucas.

Re: Event window popup from iframe-display is empty (blank)

Hi Lucas,

When I click an individual event, the pop up window shows the event details wink
The change listed above is in a JavaScript file which are cached by the browser. So when the Brüder Grimm Schule page is loaded try refreshing the page (F5) to be sure the changed file is loaded. Thereafter it should be fine.

Roel