From 29f441fd552be61355512962a384c9e6411796c5 Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Thu, 31 Aug 2017 22:38:29 -0400 Subject: [PATCH] LP#1424815: Release notes entry for Read More feature Signed-off-by: Kathy Lussier Signed-off-by: Remington Steed --- docs/RELEASE_NOTES_NEXT/OPAC/readmore.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/readmore.adoc diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/readmore.adoc b/docs/RELEASE_NOTES_NEXT/OPAC/readmore.adoc new file mode 100644 index 0000000000..add14a0f05 --- /dev/null +++ b/docs/RELEASE_NOTES_NEXT/OPAC/readmore.adoc @@ -0,0 +1,18 @@ +Read More Feature for Note Fields +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +A new setting will allow Evergreen sites to truncate the display of long note +fields in the public catalog. When truncated, a _Read More..._ link will +appear at the end of the field, allowing the user to click to view the entire +field contents. + +This feature is turned off by default. To enable it: + + * Enable the ctx.want_jquery setting in the config.tt2 file. + * Enable the truncate_contents setting in the config.tt2 file. + * In config.tt2, adjust the contents_truncate_length setting to set the +number of characters that should display before the field is truncated (default +is 100). + +Browsers with javascript disabled will continue to see the full contents of +these fields. + -- 2.11.0