Support » Plugin: FT Calendar » [Plugin: FT Calendar] Calendar unable to display other months

Viewing 2 replies - 1 through 2 (of 2 total)
  • I see the same with WordPress 3.2.1 and FT Calendar 1.0.4.1, both with Firefox 4.0.1 and IE8.

    wordpress/wp-content/plugins/ft-calendar/classes/class-shortcodes.php:

    <a class='large-prev' ref='" . $prev_month . "' href='" . $permalink . "?type=month&date=" . $prev_month . "'>" . apply_filters( 'ftcalendar-prev-arrow', '⇐' ) . "</a>

    Changing ‘large-prev’ to ‘large_prev’ resolved the problem. I can’t say I understand why. It appears that hyphens ‘-‘ are allowed in class names according to the CSS 2.1 spec, while underscores ‘_’ are not:

    http://www.w3.org/TR/CSS2/syndata.html

    “In CSS2, selectors (element names, classes and IDs) can contain only the characters [A-Za-z0-9] and [UNICODE] characters 161 and higher, plus the hyphen (-); they cannot start with a hyphen or a digit; they can also contain escaped characters and any Unicode character as a numeric code (see next item).”

    Now, I was not able the find the class name defined in any file, so maybe the safest solution would just be to remove the reference to the class?

    It worked! Your first suggestion anyway. I changed the hyphens in ‘large-prev’ and ‘large-next’ to underscores and the buttons worked.

    Thank you! You saved me from so much more headache!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: FT Calendar] Calendar unable to display other months’ is closed to new replies.