Hi all. I am implemmenting a search engine with Zope. I have it running and all, but there are three features I'm trying to implement:
 
1. Allow the user to select the number of results per page. 
I cannot seem to be able to put a variable in the field specifying the number of results per page.
Also, how can I define that all results should be displayed in the same page (in case the user selects so).
 
2. Number the results
How can I put a number next to each result? For e.g. in results 10-20, have numbers 10,11,12 next to every result
 
3. Show the total number of results
Is there a way to calculate the total number of results?
 
 
Well, any help will be greatly appreciated. I am still getting used to Zope programming and DTML. The search engine works by querying a mySQL database, in case it makes any difference.
 
Thanks,
Alex