First, I realize I should probably use the kid mailing list for this
question.  However, I'm sure that at least one other turbogears user
will benefit from this information (or at least it's a good enough
excuse ;))

I am designing a website that has a handful of different `locations'.
For instance, the following URLS will probably be used:

http://mysite.com/members
http://mysite.com/qotw
http://mysite.com/potw

Now, whenever a user visits one of the links above, from the `main'
page, the only thing that I want to change is an `information' div -
<div id="information"/>.

This information div will contain either member information, quote of
the week (qotw) or picture of the week (potw).  However, *everything*
else around the `information' div remains the same.

I examined using py:match, but its usage seems to be more appropriate
for changing "headers" and "footers".  For instance, you're main
document extends some helper document that provides new headers and
footers.

However, my usage is perpendicular to the `header' and `footers' usage.
 Instead of having a `main' document that has bits and pieces to
replace, I want to have a small `auxillary' document that replaces the
`information' div in the main document.  Can anyone give me an idea on
how to do this.  It seems to be simple, but I can't quite grok it.  (I
hope I'm clear on what I'm attempting to do!)

Thanks!
jw

Reply via email to