View Many works the same way as View One. The same layout will be applied repetitively for each record in the record sets.
When the visitor click Search, DRB will find the records matching the criteria and use the View Many layout to show them, one by one.
This works well until you want to add a header and/or a footer. In this case, you'll need to use the <THEAD> and </THEAD> tags. BEE will look for the <TBODY> and </TBODY> pair that has a corresponding <THEAD> and </THEAD> pair at the same nesting level, and repeat the part surrounded by <TBODY> and </TBODY> to show the record. The part before that TBODY range will be used as the header, and the part after the footer.
With View Many, you have one more system variable -{_pagebar}:
- {_siteurl}: Same as in View One
- {_recordpath}: Same as in View One
- {_pagebar}: The page bar when the search results in more records than the page size. To control the page size, you can modify the setting in scheme%dbo&rpp and scheme%dbo&ppb. They are the values for "record-per-page" and "page-per-block" (maximum number of pages on the page bar before the next/previous block indicator appears).
|