[EventCalendar] issue with month

Rick Boatright rboatright at gmail.com
Thu Feb 12 21:23:27 UTC 2009


 This float on which is being inherited from
style.css (line 1410)

caption { float:right;
}

is floating the month name.  You need to comment that out, or put an
explicit float clear on  the caption of tables in the ec3.css

When I comment it out, nothing else in your theme appears to break.

Rick

On Tue, Feb 10, 2009 at 8:05 PM, Mike Osterhout <mikeosterhout at gmail.com>wrote:

> I figured I would send out one more shout for help on this issue. Does
> anyone have any ideas?
>
> You can see the site at http://www.aquaculturetalk.com it is a mozilla
> only issue.
>
> Thanks.
>
> Rick Boatright wrote:
>
>> mike, the first thing I have to say about this sort of situation is that
>> firebug is your friend.  If you don't have firefox and a copy of firebug,
>> get one.  Debugging this sort of thing without it is near impossible
>> I'll look at the css later... it _is_ messed up, but that's your theme
>> chiming in.
>> Rick
>> On Sun, Feb 8, 2009 at 3:10 PM, Mike Osterhout <mikeosterhout at gmail.com<mailto:
>> mikeosterhout at gmail.com>> wrote:
>>
>>    I tried that, I am assuming this is the css to edit, I put
>>    everything back to normal and added the v-align, still a no go. Do
>>    you have any other suggestions?
>>
>>    Also do you know why it is showing up the way it is?
>>
>>    #wp-calendar table caption {
>>    vertical-align:top;
>>     text-align:center;
>>    }
>>
>>    Rick Boatright wrote:
>>
>>        on the other hand, I wouldn't have done that.  Why didn't you
>>        just change the css for caption to put it top and center
>>        rather than changing the code??????
>>        Rick
>>
>>        On Sun, Feb 8, 2009 at 2:54 PM, Rick Boatright
>>        <rboatright at gmail.com <mailto:rboatright at gmail.com>
>>        <mailto:rboatright at gmail.com <mailto:rboatright at gmail.com>>>
>>        wrote:
>>
>>           The previous and next are in template-functions.php
>>
>>           the javascript on the button calls a FUNCTION which is
>>        ajax-ed in
>>           instead of refreshing the entire page.
>>           If you view source after doing a previous or next, you will see
>>           BOTH months in the source, one visible, one not.
>>           It's actually quite clever.
>>
>>           On Sun, Feb 8, 2009 at 1:04 PM, Mike Osterhout
>>           <mikeosterhout at gmail.com <mailto:mikeosterhout at gmail.com>
>>        <mailto:mikeosterhout at gmail.com
>>
>>        <mailto:mikeosterhout at gmail.com>>> wrote:
>>
>>               Alright I was able to hack the code to get it to work
>>        better
>>               with my theme.
>>
>>               I changed this section:
>>               // Make a table for this month.
>>                 $title = sprintf(
>>                     __('View posts for %1$s %2$s'),
>>                     $this->dateobj->month_name(),
>>                     $this->dateobj->year_num
>>                   );
>>                 $result =  '<table
>>               id="'.$this->id.'-'.$this->dateobj->month_id().'">'."\n"
>>                   . '<caption>'
>>                   . '<a href="' .
>>               $this->dateobj->month_link($this->show_only_events)
>>                   . '" title="' . $title . '">'
>>                   . $this->dateobj->month_name() . ' ' .
>>               $this->dateobj->year_num . "</a>"
>>                   . "</caption>\n"
>>                   . $this->_thead
>>                   . "<tbody>\n" . $monthstr . "</tbody>\n</table>\n";
>>                 return $result;
>>                }
>>
>>
>>               To This:--- Notice I moved the caption to the top and
>>        center
>>               aligned it. However this breaks the php code and doesnt
>>        update
>>               the caption on previous next.
>>               You can check it out at http://www.aquaculturetalk.com.
>>        I am
>>               guessing it is because I have <caption> by itself now,
>>        but my
>>               PHP skills are very minimal to say the least.
>>
>>               // Make a table for this month.
>>                 $title = sprintf(
>>                     __('View posts for %1$s %2$s'),
>>                     $this->dateobj->month_name(),
>>                     $this->dateobj->year_num
>>                   );
>>                 $result = '<caption>'
>>                   . '<table
>>        id="'.$this->id.'-'.$this->dateobj->month_id().'">
>>                     <div align="center">'."\n"
>>                   . '<a href="' .
>>               $this->dateobj->month_link($this->show_only_events)
>>                   . '" title="' . $title . '">'
>>                   . $this->dateobj->month_name() . ' ' .
>>               $this->dateobj->year_num . "</a>"
>>                   . "</div>
>>                     </caption>\n"
>>                   . $this->_thead
>>                   . "<tbody>\n" . $monthstr . "</tbody>\n</table>\n";
>>                 return $result;
>>                }
>>
>>
>>
>>               _______________________________________________
>>               Blog: http://wpcal.firetree.net/
>>               EventCalendar at firetree.net
>>        <mailto:EventCalendar at firetree.net>
>>        <mailto:EventCalendar at firetree.net
>>        <mailto:EventCalendar at firetree.net>>
>>
>>               mailing list
>>               Unsubscribe: http://penguin.firetree.net/eventcalendar
>>
>>
>>
>>
>>  ------------------------------------------------------------------------
>>
>>
>>
>>        _______________________________________________
>>        Blog: http://wpcal.firetree.net/
>>        EventCalendar at firetree.net <mailto:EventCalendar at firetree.net>
>>        mailing list
>>        Unsubscribe: http://penguin.firetree.net/eventcalendar
>>
>>
>>    _______________________________________________
>>    Blog: http://wpcal.firetree.net/
>>    EventCalendar at firetree.net <mailto:EventCalendar at firetree.net>
>>    mailing list
>>    Unsubscribe: http://penguin.firetree.net/eventcalendar
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>
>>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20090212/444bc83b/attachment.htm


More information about the EventCalendar mailing list