easiest way to make a simple report

Post Reply
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

easiest way to make a simple report

Post by pete.smith »

IS there a texis script I can use that will just print a url -> summary of result report no pagination? I sort of want search_plain_report script.

Pete
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

easiest way to make a simple report

Post by John »

There isn't one, but modifying the standard one shouldn't be difficult. Basically remove the MAX= from the SQL, and just print Url. That can be saved as a different script, or separate function in the script.
John Turnbull
Thunderstone Software
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

easiest way to make a simple report

Post by pete.smith »

I got everything but the hits per page, it still wants ten. Can you show me where? i stried sschitperpage but that doesnt do it.
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

easiest way to make a simple report

Post by John »

The easiest thing is probably to crank up SSc_hitsperpage in the search function, otherwise it will pull it from the profile setting. It gets used in a few different places, so removing the references is probably more work.
John Turnbull
Thunderstone Software
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

easiest way to make a simple report

Post by pete.smith »

I did, I Set it to <$SSc_hitsperpage=100> nothing changes visually, still ten per page.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

easiest way to make a simple report

Post by mark »

Did you just change the default of 10 to 100 or did you do the change after the settings are read in?
You need to do the latter. Set it somewhere after <getapisettings> in the init function.
Post Reply