Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : Archive > Adding Calendar Icons
Bob_Laublaw (Member) 10/29/2009 11:27 AM EST : RE: Calendar Icons v1.3
Bob_Laublaw
Posts: 1256

0
Like

0
Dislike

Once again you've come through! Thank you, Mottie!

Raid Leader for <High Lords of the Horde> on Hyjal (US)
Zymurg
TopBottom

Guppy Queen (Applicant) 10/29/2009 11:47 AM EST : RE: Calendar Icons v1.3
Guppy Queen
Posts: 41034

0
Like

0
Dislike

Awesome work Mottie. Thanks so much. Not to figure out how to update this.
TopBottom

Bob_Laublaw (Member) 10/29/2009 3:54 PM EST : RE: Calendar Icons v1.3
Bob_Laublaw
Posts: 1256

0
Like

0
Dislike

I'm just getting around to testing this new 1.3 version out, and seem to still have the page linking problem.

My Test Site

As you can see, the myCalendarPage var is setup properly (TabId=2804281), but the link remains pointed to the home page (TabId=2800146).

Raid Leader for <High Lords of the Horde> on Hyjal (US)
Zymurg
TopBottom

Mottie (SuperAdmin) 10/29/2009 4:28 PM EST : RE: Calendar Icons v1.3
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Hey Bob!

Sorry I forgot to include the "updateLinks();" in the script (at the bottom of the code)... add that and it should work for you.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Guppy Queen (Applicant) 11/10/2009 12:38 PM EST : RE: Calendar Icons v1.2
Guppy Queen
Posts: 41034

0
Like

0
Dislike

Hi Mottie, I'm not sure what happened but it looks like the icons are gone now. My calendar.
TopBottom

Merenwench (Member) 11/10/2009 1:33 PM EST : RE: Calendar Icons v1.2
Merenwench
Posts: 2772

0
Like

0
Dislike

Guppy Queen said:
Hi Mottie, I'm not sure what happened but it looks like the icons are gone now. My calendar.


We are having the same issue with our sites Calendar page icons. However, the icons in the 'Upcoming Events' widget on our home page are still working.

TopBottom

Mottie (SuperAdmin) 11/10/2009 4:45 PM EST : RE: Calendar Icons v1.2
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Hey Guppy & Meren!

It looks like some classes were changed in the calendar today... I've modified the code, but you'll have to make one minor change in the script....

One thing you might have to do when you update the code:
  1. Open the Free Form Text/HTML widget
  2. Switch to <> HTML mode
  3. Select all the code (Ctrl-A or command-A)
  4. Copy all the code (Ctrl-C or command-C)
  5. Click on the "Raw/Script" link in the upper right corner
  6. Select all the code (Ctrl-A or command-A)
  7. Paste over the code (Ctrl-V or command-V)
  8. Then make the change below... modified in the original code as well
  9. Save

    Change this line from this (the red text):
    $(".CenterContentZone").find("#tblMonthlyCalendarTable").find(".NormGridRow,.AltGridRow").each(function() {
    To this (red text):
    $(".CenterContentZone").find("#tblMonthlyCalendarTable").find(".smallRound").each(function() {
Hopefully that will fix all the problems.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Merenwench (Member) 11/11/2009 4:43 PM EST : RE: Calendar Icons v1.2
Merenwench
Posts: 2772

0
Like

0
Dislike

New code still not working but I have it in the footer. Should it be somewhere else?

TopBottom

Mottie (SuperAdmin) 11/11/2009 5:48 PM EST : RE: Calendar Icons v1.2
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Hi Merenwench!

I looked at your calendar the script you are still using is calendarstyle1-2.js when the new code uses calendarstyle1-3.js.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Merenwench (Member) 11/11/2009 8:10 PM EST : RE: Calendar Icons v1.2
Merenwench
Posts: 2772

0
Like

0
Dislike

k...it's been a long week already...I thought I grabbed version 3. Is it ok to put in footer or should it be somewhere else?

TopBottom

 
 
Key 
New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
 
 
Who's Online 
There are   members online.
 
 
So-and-so has logged on!
%title%
%message%