RE: [greenstone-users] Browsing Classifiers Help - Special Case

From Nathan Einwechter
DateThu, 12 May 2005 18:29:51 -0400
Subject RE: [greenstone-users] Browsing Classifiers Help - Special Case
In-Reply-To (4283D81D-8080102-cs-waikato-ac-nz)
This solution was absolutely *perfect* for a few things I need to do!!
Thanks a ton Katherine!

Take care.

-- Nathan

-----Original Message-----
From: Katherine Don [mailto:kjdon@cs.waikato.ac.nz]
Sent: Thursday, May 12, 2005 6:27 PM
To: Nathan Einwechter
Cc: greenstone-users@list.scms.waikato.ac.nz
Subject: Re: [greenstone-users] Browsing Classifiers Help - Special Case

Hi again

Michael just pointed out that you probably didn't want the "Source" text
to show up on every node in the classifier!
You can add the destinations text using the format statement, and use
the macro files to add the top text.

Eg, in document.dm, edit the content macro:

oops

The requested page could not be found. Please use your browsers 'back' button or the above home button to return to the Greenstone Digital Library. {
<center>

<p>
_phindclassifier_
_collageclassifier_
</center>
}
add something like:

oops

The requested page could not be found. Please use your browsers 'back' button or the above home button to return to the Greenstone Digital Library. {
<center>

<p>
</center>
Source:
Something else:
<center>
_phindclassifier_
_collageclassifier_
</center>
}

Regards,
Katherine

Katherine Don wrote:
> Hi Nathan
>
> have you tried just adding this text into the format statement?
> eg
> {If}{[numleafdocs],Source:<br>[Title],Destinations:<br>[sibling
metadata
> thing],}
> You may need to play around with where the icons go but you should be
> able to do it I think.
>
> Regards,
> Katherine Don
>
> Nathan Einwechter wrote:
>
>>Katherine -
>>
>>Thanks! I figured that out shortly after my last message. What I've
been
>>struggling with now is a couple small things to help the visual side
of
>>it all. One, I'm looking to place a single piece of text over each
list
>>within my classifiers that are hierarchies.
>>
>>So, for the one you helped me with, there would be "Source" about the
>>bookshelf, and then when I click on the bookshelf it'd say "Source"
>>above the bookshelf icon and "Destination" above the list of
>>Unauthorized values.
>>
>>Is this possible? Also, I'm trying to figure out how to add some text
>>above the lists within a classifier. I figured GSDL Error

would do this,
>>but I haven't figured out how to define this as being different for
each
>>specific classifier.
>>
>>Anyone have any input on these?
>>
>>Thanks a tonne! You guys and gals are great!
>>
>>-- Nathan
>>
>>-----Original Message-----
>>From: Katherine Don [mailto:kjdon@cs.waikato.ac.nz]
>>Sent: Sunday, May 08, 2005 5:20 PM
>>To: Nathan Einwechter
>>Cc: greenstone-users@list.scms.waikato.ac.nz
>>Subject: Re: [greenstone-users] Browsing Classifiers Help - Special
Case
>>
>>Hi Nathan,
>>I just realised I made a mistake in the format statement below - you
>>need to have {If}{[numleafdocs],[Title],... not
>>{If}{[numleafdocs],[dc.Title],...
>>CLassifier nodes only have Title metadata, so you shouldn't use any
>>namespace.
>>
>>Regards,
>>Katherine
>>
>>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>