Paul (ninjamonkeyspy) wrote in component_help,
Paul
ninjamonkeyspy
component_help

How to customize the calendar page layout?

See my calendar page. It only displays two months on a row before dropping to the next row, which puts a LOT of empty space on my screen (or any screen with a large resolution). So I want as many months to fit on the page as possible.

There's a fix. Instead of using table cells to wrap each month, I want to wrap them each in a fixed-width DIV floated to the left, so they only wrap to the next line according to the width of the user's window. An example of this effect is at crash.neotope.com/calendar.htm. Go there and shrink the window as you see fit and watch the boxes wrap to the next line as necessary.

I want my calendar page to do this, but I can't find any tutorial on how to edit the layout of the YearPage, if that's even what I need to do, so I don't know exactly what variables to use. PrintMonth? I'm not entirely sure...

I also don't know if I need to post this to a Component community or a general S2 community. Any help is appreciated!
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments