Question
When I "edit" a Topic, and when I try to search for Topic Name, the default search happens in the TWiki Web, not in the one I have created ? Is there a way to change that ?
Thanks
- TWiki version: 20001201
- Web server: Apache
- Server OS: Linux
--
KhalidHASSANI - 07 Jun 2001
Answer
The Search link is not available from the Edit page, so your question is not clear - are you using the 'List Topics' feature (requires customisation, not a standard feature) from
Codev.PopupPageIndexForEditing?
--
RichardDonkin - 07 Jun 2001
In fact I was talking about this :
Don't forget - if you change something, do it in
GoodStyle and follow the
TextFormattingRules If you are not sure about a topic name, you can Search for it
It's the message you have when under the edit window, when you are editing an item.
--
KhalidHASSANI - 08 Jun 2001
You seem to be running a different version of TWiki to this one, or at least with different templates, since I've not seen this Search link in the edit page. However, if you do a View Source while editing, you can see what link is actually being used, and then change the file templates/edit.tmpl for the whole site or the web in question. The Dec2000 version of TWiki does let you do cross-web searches, so you may be able to edit the Search link to do a cross-web search. Check
TWiki.TWikiVariables for information on the %SEARCH% variable. You need to be careful not to mess things up, i.e. take backups before doing anything.
--
RichardDonkin - 09 Jun 2001
Thanks ! this in fact answeared my question, the problem is for some reason (I don't know if it has been done on purpose or not) in templates/edit.tmpl the search happens in %TWIKIWEB%, I changed this to %WEB% which is the local Twiki, and now it works Ok.
--
KhalidHASSANI - 10 Jun 2001