Hello Jérôme,

>> What I'm not able to see is where to define the brief and the full
>> versions it.
>
> Prior to answering, and to avoid any misunderstanding, let me clarify
> again the difference between "Output Formats" and "Format Templates":
>
> - Output formats are just sets of rules to apply a given template to a
>   record. An output format can specify for example that brief display
>   (HB) of records in collection X use format template x_brief.bft, while
>   all others should use default_brief.bft
>
> - Format templates are mainly HTML + calls to BFE_* elements (this is
>   most probably the one you have customized until now)

My fault; I kept exchanging the names, sorry.

> This is a bit tricky to figure out at the beginning, but I tried to make
> it clearer in the short introduction to BibFormat:
> <http://invenio-demo.cern.ch/help/admin/bibformat-admin-guide#philosophy>
>
> One must be aware that even though you can define as many output
> formats as you want, the brief display for search results pages is
> somehow hardcoded to call the "HB" output format, while the detailed
> record pages call the "HD" output format. This means that if you have a
> new collection, with a completely new display for the record, you would
>
> 1. Create the brief and detailed format templates x_brief.bft and
>    x_detailed.bft
> 2. "Connect" HB to x_brief.bft (by specifying condition to apply the
>    format)
> 2. "Connect" HD to x_detailed.bft (by specifying condition to apply the
>    format)

Aha!  I wasn't using the names ending in «brief» and «detailed».
Personally, when I create new elements of any kind in our installation,
I've ben using Catalan names, so it is readily apparent to me that if
something goes wrong there it is just my fault, as it has been this
case.  I'll change the ending to the English conventions and come back
to report you later.

Thanks for your very complete help and explanation, Jérôme,

Ferran

Reply via email to