Re: [greenstone-users] Remove Hierarchy Levels

From Michael Dewsnip
DateFri, 27 May 2005 16:55:24 +1200
Subject Re: [greenstone-users] Remove Hierarchy Levels
In-Reply-To (006001c56195$496515b0$ccaffea9-IOTRemote2)
Hi Nathan,

Hmmm... I can't think of any way of doing this without writing some code
or editing the metadata. Unfortunately format statements don't seem to
be powerful enough in this case, because you can't determine when you're
at the last folder. I guess we've never considered building classifiers
and not showing the documents!

I don't think it would take too much work to add an option to the
classifer to get the effect you're after. You'd need to know a bit of
Perl and have some time to spare though.

The low-tech solution is to split the metadata between two elements:
"Value1|Value2" and "Value3", build the classifier on the first element,
and display the second element's value for the documents (without the
link). Whether this is feasible depends on how much metadata you've got,
and what else you use this metadata value for.

All the best,


Nathan Einwechter wrote:

> I’ve got a number of hierarchies setup by placing
> Value1|value2|value3
> Into a specific metadata value. My issue is that I don’t want the icon
> to display on the final value (thus preventing us from getting down to
> the last level which shows the document.) I can remove the document
> name and icon no problem, but I want to get rid of that last bookshelf
> as well to prevent people from clicking on it just to find an empty
> next level.
> Anyone know how I might be able to do this?
> Thanks!
> -- Nathan
>greenstone-users mailing list