Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityEverything ElseGeneral Use (Moderators: scott, DanO, Marty)Make event NOT link to description?
Pages: [1]   Go Down
Print
Author Topic: Make event NOT link to description?  (Read 990 times)
0 Members and 1 Guest are viewing this topic.
kbt
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: September 21, 2003, 01:51:00 PM »

Several of the items in my calendar don't need any further explanation. Progres Reports, for example. No time attached. Nothing else to be said.

Right now even I, who entered it and who knows that "Mass" is nothing but Mass, can't resist the urge to click when I see that little underline. Then I'm simultaneously dissapointed and betrayed by the emptiness before me when it launches the event description page.

So, is it possible to have events with no further description not be clickable? If a user rolls his mouse across the calendar and an event underlines, hey! there's more info. No underline, no more info, don't bother clicking.

And ... as long as I'm whining about picayune things that matter only to me... is there a way to remove the space between the "am" and the colon when a time is listed on the calendar? For some reason, seeing 9:00 am : Mass bugs me. Of course, if the fix required isn't super-simple-idiot-proof, then I'll quickly learn to deal. LOL!

Thanks!!
KBT

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: September 22, 2003, 07:59:00 PM »

** is it possible to have events with no further description not be clickable? **

Sure. Make the template code that makes the title a link conditional on the description field.

** is there a way to remove the space between the "am" and the colon when a time is listed on the calendar? **

Possibly. Have a look on the default.html template file for where it is printed out and see if there's any possible changes to the HTML code that will make that happen.

Dan O.

------------------

Logged
newtech
New Member
*

Karma: 0
Offline Offline

Posts: 28


« Reply #2 on: August 25, 2007, 02:01:42 PM »

Quote
is it possible to have events with no further description not be clickable? **
Sure. Make the template code that makes the title a link conditional on the description field.
Has anyone created this if condition?

Quote
is there a way to remove the space between the "am" and the colon when a time is listed on the calendar? **

Possibly. Have a look on the default.html template file for where it is printed out and see if there's any possible changes to the HTML code that will make that happen.
Did anybody figure this out?
Logged
newtech
New Member
*

Karma: 0
Offline Offline

Posts: 28


« Reply #3 on: September 02, 2007, 10:31:31 PM »

any answer on this?
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #4 on: September 03, 2007, 01:47:08 PM »

** Has anyone created this if condition? **

The condition itself could possibly be:

if ($EVENT->{'details'}->{'description'} ne "")

The rest of the conditional code (ie. printing the link or not) you'd have to work out for yourself or get someone to do it for you.


** Did anybody figure this out? **

I previously suggested to you where it would have to be done, where the colon is printed. The colon is printed where the template has:

%> : <%

Remove the space(s) where appropriate for what you're trying to achieve.

JMO

Dan O.
Logged
Pages: [1]   Go Up
Print
Jump to: