Hi Piotras.
On 19.02.02 (17:01), pp wrote:
> Anyway there are few things I can not understand
> How may I by default search among articles in topic tree?
> I noticed that I may do it when I point browser to
> "host.com/midhoo/_" or something like '_'
What do you mean exactly? Do you want to search on $argv[0] by
default?
It's all up to your page logic in the application -- my example
page searches for terms supplied via the query string variable
$term, but you could easily change that behaviour by replacing
lines 10 and 11 of my original page "midHoo-home" with the
following:
10: $topic_id = MIDHOO_ROOT;
11: $term = $argv[0];
Currently, $argv[0] is used to set subtopics of MIDHOO_ROOT to
look into.
> And of course how to generate "<< 1 | 2 | 3 | 4 >> ?
Lines 41..48 of my sample page have the code.
> midhoo is very fine with 100 - 200 records , but It looks
> useless with 2000 or more records.
Um, it was a small example application for midgard newbies...
guess there's lots of room to improve on performance. Feel free
to contribute your improvements :-)
Best regards,
phr
--
Linksystem Muenchen GmbH [EMAIL PROTECTED]
Schloerstrasse 10 http://www.link-m.de
80634 Muenchen Tel. 089 / 890 518-0
We make the Net work. Fax 089 / 890 518-77
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]