9 Jul
2007
9 Jul
'07
6:46 p.m.
Ken Ara wrote:
Aaron,
The Path Handler product (http://www.zope.org/Members/NIP/PathHandler) is your friend.
Well, it would have been, but it's not necessary nowadays...
Normally, you would create a path handler called 'games' and point it to your display_game method. To obtain the result you describe, you could move your display_game code into index_html and test for a path_to_handle, else display your 'real' index_html.
Nowadays, you can just use a normal python script instead of a path handler and process the traverse_subpath... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk