Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:howtos:displaying_a_custom_field:vufind6_example
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
development:howtos:displaying_a_custom_field:vufind6_example [2020/04/14 12:56] – demiankatz | development:howtos:displaying_a_custom_field:vufind6_example [2023/11/09 21:32] (current) – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Displaying a Custom | + | ====== Displaying a Custom |
// This example shows you how to set up a custom module, custom theme and custom record driver. It assumes that you have already added a custom field to your Solr index named RecID -- you can see more concrete examples of adding fields on the [[indexing: | // This example shows you how to set up a custom module, custom theme and custom record driver. It assumes that you have already added a custom field to your Solr index named RecID -- you can see more concrete examples of adding fields on the [[indexing: | ||
Line 80: | Line 80: | ||
mkdir -p $VUFIND_HOME/ | mkdir -p $VUFIND_HOME/ | ||
- | + | ||
- | * New, create a custom RecordDataFormatterFactory in your local code module; this is where configurations are set up. For example, you could edit $VUFIND_HOME/ | + | * Now, create a custom RecordDataFormatterFactory in your local code module; this is where configurations are set up. For example, you could edit $VUFIND_HOME/ |
<? | <? | ||
Line 107: | Line 107: | ||
]; | ]; | ||
+ | |||
+ | :!: In this example, the key line is $spec-> | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
development/howtos/displaying_a_custom_field/vufind6_example.1586869000.txt.gz · Last modified: 2020/04/14 12:56 by demiankatz