Svarre Calendar: Tooltip on mouse over
Moderator: Tata
-
- Posts: 7
- Joined: Thu Aug 07, 2008 9:57 am
Svarre Calendar: Tooltip on mouse over
Hi Guys,
I use the 0.9 Svarrer Calendar and I am curious to find out if it is possible to change the mouse over tooltip in the calendar?
As default the tooltip is "time + event" when pointing the cursor to a date with an event.
Is it possible to change that to "time + event + location" or "time + location"?
Cheers,
Patrick
I use the 0.9 Svarrer Calendar and I am curious to find out if it is possible to change the mouse over tooltip in the calendar?
As default the tooltip is "time + event" when pointing the cursor to a date with an event.
Is it possible to change that to "time + event + location" or "time + location"?
Cheers,
Patrick
-
- Posts: 7
- Joined: Thu Aug 07, 2008 9:57 am
Re: Svarre Calendar: Tooltip on mouse over
Anybody got a clue?
Re: Svarre Calendar: Tooltip on mouse over
Hi pmollbrink
Find the line 204 in index.php in canendar folder, it look like this.
$event_time_array[$keys] it the time
$event_array[$keys] is the event
to put location on it, you can change the line to this.
/ZiPs
Find the line 204 in index.php in canendar folder, it look like this.
Code: Select all
$event_title=trim($event_time_array[$keys]).strip_tags($event_array[$keys]);}
$event_array[$keys] is the event
to put location on it, you can change the line to this.
Code: Select all
$event_title=trim($event_time_array[$keys]).strip_tags($event_array[$keys]).strip_tags($event_location_array[$keys]);}
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
-
- Posts: 7
- Joined: Thu Aug 07, 2008 9:57 am
Re: Svarre Calendar: Tooltip on mouse over
Brilliant!
Thanks a million ZIPs!!
Cheers!
/Patrick
Thanks a million ZIPs!!
Cheers!
/Patrick
-
- Posts: 7
- Joined: Thu Aug 07, 2008 9:57 am
Re: Svarre Calendar: Tooltip on mouse over
While we are still on the subject
How do I add a space between "Event" and "Location"?
Your excellent tweek puts the two strings together.
Cheers,
Patrick
How do I add a space between "Event" and "Location"?
Your excellent tweek puts the two strings together.
Cheers,
Patrick
Re: Svarre Calendar: Tooltip on mouse over
Hi pmollbrink
This give a space between "Event" and "Location"
But is not sure this is the right way, but it works
/ZiPs
This give a space between "Event" and "Location"
But is not sure this is the right way, but it works
Code: Select all
$event_title=trim($event_time_array[$keys]).strip_tags($event_array[$keys])." ".strip_tags($event_location_array[$keys]);}
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
-
- Posts: 7
- Joined: Thu Aug 07, 2008 9:57 am
Re: Svarre Calendar: Tooltip on mouse over
Excellent ZIPs!
Right way or not, it works and it's simple
Cheers!
Patrick
Right way or not, it works and it's simple
Cheers!
Patrick
Re: Svarre Calendar: Tooltip on mouse over
Happy to help, and it acts as you want
/ZiPs
/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach