Hi Andreas,
1. The sample multiSearch.php starts with the "debugSql" search option set to 1 - you can either change this to 0 or remove it entirely, which should remove that output.
2. This portion of the code is where you can change the returned values:
$searchTables['news'] = array(
'viewerUrl' => 'newsPage.php',
'titleField' => 'title',
'summaryField' => 'summary',
'searchFields' => array('title','summary','content'),
);
For example, you can change "title" and "summary" to the appropriate field names in your table. As well, you can use field1, field2, etc. to add up to 10 additional fields, like this:
$searchTables['news'] = array(
'viewerUrl' => 'newsPage.php',
'titleField' => 'title',
'summaryField' => 'summary',
'field1' => 'content',
'field2' => 'category',
'searchFields' => array('title','summary','content'),
);
3. The link-building portion of this function is currently incomplete - I would recommend constructing your own links in the page's output.
Regarding the warning: if you need this to open viewer/editor pages in the CMS it will need to be built into a plugin - I had forgotten that it's not possible to directly link to the admin from non-admin pages. Otherwise, if it'd work to view/edit on the front-end like you're doing with this test page, the simplest way would be to either use a regular details page from the Code Generator (view) or use the Form Generator with record editing enabled (edit).
4. You can change the number of records with the "perPage" search option.
Hopefully that all helps - let me know if you have any further questions!
Thanks,
Daniel
Technical Lead
interactivetools.com