Skip to forum content

LuxCal Web Calendar

The place for news, questions and suggestions

You are not logged in. Please login or register.


Post new reply

LuxCal Web Calendar → Problems → Event end times → Post new reply

Post new reply

Compose and post your new reply

You may use: BBCode Images Smilies

All fields with bold label must be completed before the form is submitted.

Required information for guests


Required information

Topic review (newest first)

10

It's just a question of using the right magic wand wink

Roel

9

Roel is someone like a magician, knowing all is code perfectly.
Many thanks Roel
Key was found with a line missing (include in comments) in toolbox.js after mod.
But Chrome seems to have its own "issue generator", popups activated and no printing window showing .. either Edge shows it ...
Oh magic can be IT world !!

Edit : the page parameters under Chrome didn't really made a difference.
Going into Chrome parameters general page makes the job ... Pffff

8

Ok, mail on the way, thx

7

@RdeW: There is no way to configure the calendar to show the Venue in the day cells of Month view. I can however give you a code change to show the venue. If you want this, please let me know where you would like to see the venue (e.g. after the title, on a new line, etc.), and if you want the word "Venue:" in front of it.

@cousinhub:
1) Concerning the Print function, could you send me the URL of your calendar (via the Contact Us page) so that I can analyze what's going wrong.
2) Concerning the start and end times in week and day view: Edit the file "views/dw_functions.php" and change line 148 . . .

echo "<div class='{$class}'>{$chBox}{$onClick}{$popAttr} title=\"{$title}\">{$stiPrefix}{$evt['tix']}</span></div></div>\n";

to . . .

echo "<div class='{$class}'>{$chBox}{$onClick}{$popAttr} title=\"{$title}\">{$time} {$evt['tix']}</span></div></div>\n";

So in other words: replace {$stiPrefix} by {$time}, followed by a space.
Please note that there are no plans to add this change to the next LuxCal calendar version.

Roel

6

Roel wrote:

I'm (almost) convinced that printing does work after the change wink
Did you refresh the calendar page (Ctrl-F5) after implementing the changes?

Roel

I did yes .. tried on localhost and on my webhosting ...
Something occurs, the window switches to white background and... nothing.

But, month view is ok with times (so fine !), could we expect the same mod for week views ?...  wink)
I know it seems silly as we have times on the left, but my elder users have a short view ...

5

Many thanks for this Roel, it worked for me, but I had also just upgraded from 4.7.0 to 4.7.4 which might have helped?  Would there also be a way of including the Venue on the display and printout, although I guess that might make it a bit too crowded?

4

I'm (almost) convinced that printing does work after the change wink
Did you refresh the calendar page (Ctrl-F5) after implementing the changes?

Roel

3

Ohh .. Sorry Roel but either end time is ok either printing still doesn't work ... ;-(

2

Hi there,

In the latest calendar version 4.7.4, the Print funtion in the side menu is not working.
Below you will find two minor changes: 1) to show the end times in Month view and 2) to fix the print problem.

The changes are for calendar version 4.7.4!

1) edit the file views/month.php and replace line 17 . . .

$dTime = $evt['mde'] ? $time : ITtoDT($evt['sti']);

by . . .

$dTime = $time;

2) edit the file common/toolbox.js and replace line 379 . . .

var els = $T("*");

by . . .

var els = [].slice.call($T("*")); //convert nodelist to array

Now you will see the end times, if there is one, in Month view and the print function in the side menu will work.

I think this could be interesting for other calendar users too, therefore in the next version of the calendar I will add a setting to enable/disable the display of the event end time in Month view.

Roel

1

I want to be able to see the event start and end times on the month display without hovering over the event and also print this out for users reference.  Is this possible, please?

LuxCal Web Calendar → Problems → Event end times → Post new reply