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
Pages: 1 [2]   Go Down
Print
Author Topic: adding icons  (Read 1087 times)
0 Members and 1 Guest are viewing this topic.
Foghorn
Guest
« Reply #15 on: March 10, 2006, 08:27:00 PM »

DanO,

The items arent options in my Admin interface.  Is that because I am useing the dayspan template maybe?  What am i doing wrong?

Im also sorry, Im not a programmer, so I dont know where the "appropriate place" is to put the code.  Thanks for help anyway.

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #16 on: March 10, 2006, 08:34:00 PM »

** The items aren't options in my Admin interface. Is that because I am using the dayspan template maybe? **

Quite possibly. If so, than you'd likely have to manually remove (or comment out) the code in the template responsible for printing them.

Dan O.

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

Logged
Foghorn
Guest
« Reply #17 on: March 10, 2006, 08:47:00 PM »

Like I said, I have no idea what that code is.  But thanks for trying to help.
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #18 on: March 10, 2006, 10:26:00 PM »

** I have no idea what that code is. **

It is HTML code. The bullet is displayed with the HTML entity &# 149; (without the space in the middle).

Dan O.

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

Logged
Foghorn
Guest
« Reply #19 on: March 14, 2006, 09:56:00 PM »

Okay, I got the bullets disabled.  Thanks Dano.  However I cant get the icons be at the beginning ot the time instead of the title.  Here is another delema, if it is an all day event, the the icon would not have a time to be at the beginning of, just a title.  Make sense?  I think you would have to modify this line of code, but I am not sure how.  Please advise.

$details->{'title'} = "<img src=http://yourwebserver/icons/" . $details->{'icon'} . ".gif border=0>" . $details->{'title'};

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #20 on: March 15, 2006, 12:01:00 PM »

** However I cant get the icons be at the beginning of the time instead of the title. **

Since that mod actually modifies the event title field to add the icon image code, that is the only place the icon will be printed, along with the title.

You'd either have to make different code to display the icon separate from the title, move the times to be printed only after the title is printed instead of before like they are now or don't display the times at all.

Dan O.

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

Logged
Pages: 1 [2]   Go Up
Print
Jump to: