Question
I am trying to build hierarchial topic lists (e.g. like seen in forums) and wanted to use the META:PARENTTOPIC and a METASEARCH to search for the childtopics. However, this does not seem to work at all - the meta data has been inserted correctly (tested with raw=debug) but the search does not return any results at all
- TWiki version: 01 Sep 2001
- Web server: Apache 1.3.20
- Server OS: Redhat 7.1
- Web browser: -
- Client OS: -
--
PeterRietzler - 05 Nov 2001
Answer
This is because META:PARENTTOPIC is only expanded in the templates, not the topic text. This should be fixed.
--
PeterThoeny - 28 Jan 2002
Is this going to be fixed soon ? I can only assume it isn't yet, as I tried a
%METASEARCH{...}% with the latest beta, and nothing came back.
It really would be a useful feature, allowing for all sorts of Hierarchical(sp?) types of document, especially in collaborative books etc.
--
MichaelKearns - 03 Jan 2003
Sorry, not in
BeijingRelease.
SimplifyInternalMetaDataHandling needs to be done first.
--
PeterThoeny - 06 Jan 2003
I'm not sure if this is related, but we're looking for a way to get a web topic list in hierarchical view, using the PARENTTOPIC information. Has a plugin been done to do this?
Later I've just discovered
TreePlugin which appears to do what we want. We'll give it a try.... Yes, that does the trick!
--
HughGibson - 28 Jan 2003
The koala skin uses metasearch in oopsmore.koala.tmpl to display the child topics.
%METASEARCH{type="parent" web="%WEB%" topic="%TOPIC%" title=""}%
But the search does not return any results if the ALLOWWEBVIEW variable is set in the
WebPreferences.
--
NorbertWindrich - 28 Apr 2005