Gossamer Forum
Home : Products : DBMan : Installation :

Different maxhits variables for view/delete mode?

Quote Reply
Different maxhits variables for view/delete mode?
Is it possible to use a different number of records being displayed in the view mode and in the delete/modify-modes? I've tried to create a 2nd variable $db_max_hits_edit like $db_max_hits , but $db_max_hits is called in too many functions. Does anyone know an easier/better way?
Quote Reply
Re: Different maxhits variables for view/delete mode? In reply to
You can set the maximum returned hits in the search options at the bottom of the page. Or, if you want it to be the same all the time, you can add a hidden field to html_delete_search--

<input type=hidden name="mh" value="#">

replacing # with the number of hits you want to appear on the page.

If you're doing a search through a link (like if you have a type of record you're going to want to delete often), add

&mh=#

to the link.

Lots o' options! Smile



------------------
JPD