John Poltorak wrote at 2005-6-25 13:46 +0100: >If I create individual pages for a website as sub folders of a sites main >folder, how do I control the sequence of pages if I automatically generate >a set of links to all the folders? I presume that under normal >circumstances that sequence would be in alphabetical order of object ID.
Then you sort as appropriate. Python's "list" objects have a "sort" method. Zope has a module "sequence" with a versatile "sort" function, documented in the embedded online help ;-) -- Dieter _______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
