Summary: | Add a SysPref to allow adding content to the #moresearches div in the opac | ||
---|---|---|---|
Product: | Koha | Reporter: | Joy Nelson <1joynelson> |
Component: | Architecture, internals, and plumbing | Assignee: | Kyle M Hall (khall) <kyle> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | kyle, martin.renvoize, nick |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
19.05.00
|
|
Circulation function: | |||
Attachments: |
screenshot of opac showing the area needed to be responsive
Bug 22311 - Add a SysPref to allow adding content to the #moresearches div in the opac Bug 22311 - Add a SysPref to allow adding content to the #moresearches div in the opac Bug 22311: Add a SysPref to allow adding content to the #moresearches div in the opac |
Hi Joy, can you share how the links were added? Maybe there is something there that could be improved. I think this may be a factor of this OPAC's customization. I'd be happy to take a look if the URL can be shared. Owen did help fix the jQuery addition. The idea of this development would be to match the syspref 'OPACSearchForTitleIn' but for populating the search headers (#moresearches) on the opac page to allow staff to easily add links without jQuery Created attachment 85524 [details] [review] Bug 22311 - Add a SysPref to allow adding content to the #moresearches div in the opac The idea of this development would be to match the syspref 'OPACSearchForTitleIn' but for populating the search headers (#moresearches) on the opac page to allow staff to easily add links without jQuery. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Update the new OpacMoreSearches system preference to include the following line: <li><a href="https://duckduckgo.com/">Duck Duck Go</a></li> 4) Browse to the OPAC 5) Note your new link displays in the "moresearches" area of the OPAC. Created attachment 86581 [details] [review] Bug 22311 - Add a SysPref to allow adding content to the #moresearches div in the opac The idea of this development would be to match the syspref 'OPACSearchForTitleIn' but for populating the search headers (#moresearches) on the opac page to allow staff to easily add links without jQuery. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Update the new OpacMoreSearches system preference to include the following line: <li><a href="https://duckduckgo.com/">Duck Duck Go</a></li> 4) Browse to the OPAC 5) Note your new link displays in the "moresearches" area of the OPAC. Signed-off-by: Liz Rea <wizzyrea@gmail.com> Created attachment 87569 [details] [review] Bug 22311: Add a SysPref to allow adding content to the #moresearches div in the opac The idea of this development would be to match the syspref 'OPACSearchForTitleIn' but for populating the search headers (#moresearches) on the opac page to allow staff to easily add links without jQuery. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Update the new OpacMoreSearches system preference to include the following line: <li><a href="https://duckduckgo.com/">Duck Duck Go</a></li> 4) Browse to the OPAC 5) Note your new link displays in the "moresearches" area of the OPAC. Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Awesome work all! Pushed to master for 19.05 Enhancement will not be backported to 18.11.x series. |
Created attachment 85009 [details] screenshot of opac showing the area needed to be responsive When links are added to the #moresearches area of the OPAC, the opac fails to be responsive when resized.