I tried the first option - for my search module the parameters are:
and for menu module
However this doesn't seem to work.
The other option you have mentioned, I am not too comfortable with. I have installed the TikiWiki for the first time and not too keen on making changes to files.