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]   Go Down
Print
Author Topic: Question regarding Event Links  (Read 506 times)
0 Members and 1 Guest are viewing this topic.
MrSlate
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: June 04, 2004, 05:12:00 PM »

This may be a stupid question, but How do I change the link appearance in the cells? That is I want the event links to be underlined and a different color then the text. I tried to do this using the admin panel, but it has no effect. So I found the CSS file (styles.css) and edited it to make the text-decoration be underlined, and I added the color style but it had no effect.

Thanks in advance for the help.

Calendar version 3.2
Broweser IE 6


MrSlate

[This message has been edited by MrSlate (edited June 04, 2004).]

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: June 05, 2004, 02:13:00 PM »

** So I found the CSS file (styles.css) and edited it to make the text-decoration be underlined, and I added the color style but it had no effect. **

Which item(s) in the styles.css file did you edit?

What did you change them to?

It looks like there are (at least) 2 different styles applied to the event titles in the default.html template file, CLASS="gridtext" and CLASS="text" which I assume are defendant on the calendar view. There is also (at least) 1 instance where the text-decoration property is defined right in the link HTML code itself rather than the CSS file.

Dan O.

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

Logged
MrSlate
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: June 06, 2004, 01:14:00 AM »

I edited the styles.css located in the calendarscript/templates/calendars/default folder. Here is what I did:
A { text-decoration: underline;  color: #FF0000;   }
A:hover { text-decoration: none; color: #000000; background-color: #BDDFFF;} I made the text to be red so I could really see the changes, but it had no effect to the color of the a href links. The only change that did take place was the text decoration went from none to underline as I specified.

So the text decoration did work for me, but the text link color did not.

Which file should I be editing to create overall changes to the calendar and where is it located? There seems to be more then one place to do the same thing which makes it difficult.

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

[This message has been edited by MrSlate (edited June 06, 2004).]

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #3 on: June 06, 2004, 12:39:00 PM »

As I stated previously; It looks like there are (at least) 2 different styles applied to the event titles in the default.html template file, CLASS="gridtext" and CLASS="text" which I assume are defendant on the calendar view.

Try changing the attributes for those classes in the styles.css file.

I'm not really up to speed on CSS code so I'm afraid i can't be much more assistance in helping you solve this one.

Dan O.

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

Logged
MrSlate
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #4 on: June 08, 2004, 10:12:00 AM »

Thanks for your reply in this, but as I stated in both my earlier posts, I did edit styles.css with no effect to the link color. (attrib color: #FF0000 )

I have just came to the conclusion that I am stuck with black as the link color. At least I was able to have the link underlined which has become a web stardard.

Thanks again for your help.

MrSlate

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #5 on: June 08, 2004, 04:37:00 PM »

 
quote:
Here is what I did:
A { text-decoration: underline; color: #FF0000; }
A:hover { text-decoration: none; color: #000000; background-color: #BDDFFF;}

** as I stated in both my earlier posts, I did edit styles.css with no effect **

Yes, you started that you modified the A CSS class attributes but I suggested you try editing the gridtext and text CSS class attributes in the CSS file directly since you said changing the "Grid Cell Text Color" option (7th from last) in the administration area didn't work for you.

I have no idea if it would solve your dilemma though but it is certainly worth a try??? But that's up to you.

Dan O.

[This message has been edited by DanO (edited June 08, 2004).]

Logged
MrSlate
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #6 on: June 09, 2004, 02:57:00 AM »

Uh, you aint so cool, uh, either... (ha that is to be taken in jest) I found it... and now all things are in balance in the Calendar universe.

Well you said one thing in the last post that fixed it... It is kind of un-intuitive, but changing the "Grid Cell Text Color" fixed the issue. The reason it seems it is unintuitive is that it suggests normal text as opposed to link color as specified by the ALink Color option. Maybe it would be less confusing if it said "Grid Cell LINK Color"  as opposed to "Grid Cell Text Color" to avoid confusion especially since they are "A links themselves.

Anyway...

Thanks for your help. I really appreciate it.

One suggestion to this calendar..

The ability to INCERT events once the events have been entered in a specific order. Right now if you need to add an event, you have to delete the events below the event you wish to insert. It would be nice to have the events follow an order especially if the events are time sensitive..

That is unless I am not seeing ANOTHER option already for this... I wouldn't be surprised..

Later

MrSlate

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #7 on: June 09, 2004, 12:40:00 PM »

** It would be nice to have the events follow an order especially if the events are time sensitive.. **

I believe events on the calendar should be sorted by time. Are they not?

Dan O.

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

Logged
MrSlate
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #8 on: June 09, 2004, 01:43:00 PM »

"I believe events on the calendar should be sorted by time. Are they not?"

I am not using the time feature as it adds too much text to each cell. I am creating a calendar for someone that has four different groups viewing it. I want the group listed first, then the time. TO do this I have to just type it as I want it seen.

Make sense?

Thanks

MrSlate

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #9 on: June 10, 2004, 05:46:00 PM »

** I am not using the time feature as it adds too much text to each cell. **

Than turn OFF viewing of the times in the calendar grids using the Template Display Preferences in the administration section.

** I am creating a calendar for someone that has four different groups viewing it. I want the group listed first, then the time. **

Than you would need to add a sort routine to the events list. You can find numberous posts on that subject by search the forums.

LINK > Forum Search Results for "sort event" (without the quotes)

Dan O.

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

Logged
MrSlate
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #10 on: June 10, 2004, 11:10:00 PM »

"Than turn OFF viewing of the times in the calendar grids using the Template Display Preferences in the administration section."

That is what I meant when I said "I am not using the time feature" In other words, I turned it off and all was fine.

Thanks for your help on the sort routine, I will check it out.

MrSlate

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

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