PDA

View Full Version : gird and list in different places?


snlsn
10-08-2005, 08:56 PM
Here's a weird one.
I like the calendar grid above the event list.
Another member of the redesign committee thinks the calendar grid is a waste of space - in his opinion we only need the list version. I'm not willing to give up the calendar grid view, but I would be willing to have in in another place on the page - such as the side bar area. I don't know if there's a way to "disassociate" the two views of the calendar.

I though maybe I could put the code both in the sidebar div and in the main content div. That would give me two instances of the calendar. The problem with that idea (besides redundancy) is that clicking next/previous links would change one instance of the calendar but not both.

So - is there a way to put the grid version in one div and the list version in another div? I have room for the grid in the sidebar. You can get a sense of what it looks like now here (I'm past the 7 day trial version so it displays "License Key" error messages):
http://development.eastchurch.org/calendar/index.php

Brian
10-09-2005, 09:54 AM
You should be able to put any of the calendar modes on the same page (and different divs) and each of them update when the other changes.

Can you put it the way that you want and add at least one different event for the first event of the next few months so we can test?

snlsn
10-09-2005, 12:15 PM
Oh dear. Sounds like this is going to be one of those "I should have tried it before bothering them" things. Sorry. I will try it for sure and get back to you with whatever happens.

Thanks.
Steve

snlsn
10-09-2005, 01:24 PM
Blog Mode?!?!?!!?

Wow - you guys snuck that one in just this past week. I can't believe it! I went back to the instructions page to refresh my memory and - there was a brand new item!

Anyway, I still want the right hand ("Main content") div to show all the items for the month displayed by the grid, not just the current day as Blog Mode does, but yes indeed - putting the default view in one div and the list view in another works perfectly. Wow. Maybe peace and harmony will return to the redesign committee.
Or not.
But it's a good compromise to offer them and thanks for being patient with a guy who asks before trying.

And even though it's not the solution to my specific problem I just want to say Blog Mode is cool!

Steve

wakalapi
10-23-2005, 12:01 AM
I manipulated a set of table, row and cell tags to get mine into just about any position I could think of. I settled for the "blog" type layout but with the functionality of a two-month grid and list, plus a pre-formatted page to make printable flyers.
http://www.powwowtime.com/modules.php?name=Calendar

Let me just tell you that a few in-depth looks into the Documentation really saved me from weeks of frustration! It explains the layouts and plugins pretty well.
http://docs.easyphpcalendar.com/

snlsn
10-23-2005, 03:50 PM
Thanks wakalapi.