Re: [greenstone-users] Title display problem

From Michael Dewsnip
DateTue, 07 Jun 2005 11:03:14 +1200
Subject Re: [greenstone-users] Title display problem
In-Reply-To (42A0BDB5-70608-esrl-lib-md-us)
Hi June,

> When I was trying to display items based on Subjects, in GLI I add the
> format string <td>[link][icon][/link] </td> <td>[link][Title][/link]</td>
> to diplay (ex. CL2: AZCompactList-metadata dc.subject and keywords).
> What was happening was that the ex.Title (by default it's filename)
> was shown as title.
> The subject heading displayed fine, but if I clicked on the heading,
> all items listed below were shown with filename (not their titles I
> assigned to). Since ex.Title is generated automatically, I can't
> delete it. My question is: how can I format the [Title] that display
> dc.Title not ex.Title?

Instead of just having "[Title]" in your format statement, try using
"[dc.Title,Title]". This will display dc.Title if it exists, otherwise
Title (ex.Title).