User Tools

Site Tools


newdevs:landscape:tree

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
newdevs:landscape:tree [2020/11/23 13:40] tlittlenewdevs:landscape:tree [2025/02/26 11:49] (current) – separated TPAC and BooPAC; added web/js/ui/default/opac sleary
Line 5: Line 5:
  
 ===== Configuration Files / Business Logic ===== ===== Configuration Files / Business Logic =====
-//Note: After changing configuration files, server restarts are usually required.//+//Note: After changing configuration files, server restarts are usually required. See the [[newdevs:restarting|Restarting Things Cheat Sheet]]// 
 + 
 +**Field Mapper / IDL / Database Schema** 
 + 
 +The field mapper assists the UI in connecting to the database.
  
-**Field Mapper** 
   * Git: \Open-ILS\examples\fm_IDL.xml   * Git: \Open-ILS\examples\fm_IDL.xml
   * Installed: /openils/conf/fm_IDL.xml   * Installed: /openils/conf/fm_IDL.xml
  
-A version of the Field Mapper is also installed for use by the reports engine.+A version of the field mapper is also installed specifically for use by the reports engine.
   * Installed:  /openils/var/web/reports/fm_IDL.xml   * Installed:  /openils/var/web/reports/fm_IDL.xml
  
 You can view the live version on your server through a browser by going to: You can view the live version on your server through a browser by going to:
   * [[https://<your domain>/reports/fm_IDL.xml]]   * [[https://<your domain>/reports/fm_IDL.xml]]
 +
 +An outline of the database schema is at: 
 +  * https://wiki.evergreen-ils.org/doku.php?id=newdevs:db:schemas:3.10_schma
  
 **Virtual Host Configuration File** **Virtual Host Configuration File**
Line 24: Line 30:
   * Git: \Open-ILS\src\perlmods\lib\OpenILS\   * Git: \Open-ILS\src\perlmods\lib\OpenILS\
   * Installed: /usr/local/share/perl/[version number]/OpenILS/   * Installed: /usr/local/share/perl/[version number]/OpenILS/
 +
 +//Note: If adding a new page to the OPAC, add the new path to EGCatLoader.pm in the "load" subroutine//
 +//Note: After changing the Perl modules, you will need to restart Apache//
  
 **KPAC (Kids' Catalog)** **KPAC (Kids' Catalog)**
Line 33: Line 42:
  
 ===== OPAC ===== ===== OPAC =====
 +
 +==== Original OPAC (aka TPAC) ====
  
 **Page Templates** **Page Templates**
Line 45: Line 56:
   * Git: \Open-ILS\src\templates\opac\css\   * Git: \Open-ILS\src\templates\opac\css\
   * Installed: /openils/var/templates/opac/css/   * Installed: /openils/var/templates/opac/css/
 +
 +==== Bootstrap OPAC (aka BooPAC) ====
 +
 +**Page Templates**
 +  * Git: \Open-ILS\src\templates-bootstrap\opac\
 +  * Installed: /openils/var/templates-bootstrap/opac/
 +
 +**Images**\\
 +  * Git: \Open-ILS\web\images\
 +  * Installed: /openils/var/web/images/
 +
 +**CSS**\\
 +  * Git: \Open-ILS\src\templates-bootstrap\opac\css\
 +  * Installed: /openils/var/templates-bootstrap/opac/css/
 +
 +==== Shared JS files ====
 +
 +Both versions of the OPAC share some simple JavaScript files in:
 +  * Git: \Open-ILS\web\js\ui\default\opac\
 +  * Installed: /openils/var/web/js/ui/default/opac
 +
 +Some files of interest here:
 +  * autosuggest.module.js - the typeahead feature for the catalog search input
 +  * simple.js - contains advanced search row add/remove logic
  
 ===== KPAC ===== ===== KPAC =====
Line 77: Line 112:
   * Git: \Open-ILS\src\eg2\src\app\   * Git: \Open-ILS\src\eg2\src\app\
   * Installed: /​home/​opensrf/​Evergreen/​Open-ILS/​src/​eg2/​src/​app/​    * Installed: /​home/​opensrf/​Evergreen/​Open-ILS/​src/​eg2/​src/​app/​ 
-  * Developer'Note: When you run [[newdevs:angular|ng build]], if you add --watch, and leave it running in a [[https://www.howtogeek.com/662422/how-to-use-linuxs-screen-command/|screen]] session, and create a [[https://www.howtogeek.com/287014/how-to-create-and-use-symbolic-links-aka-symlinks-on-linux/|symbolic link]] from /openils/var/web/eg2 to Open-ILS/web/eg2 it will watch this directory for new files and recompile them on the fly.+  * Note: After changing an Angular file, it must be recompiled using [[newdevs:angular|ng build]].  
 +  * Advanced Note: If you add --watch, and leave it running in a [[https://www.howtogeek.com/662422/how-to-use-linuxs-screen-command/|screen]] session, and create a [[https://www.howtogeek.com/287014/how-to-create-and-use-symbolic-links-aka-symlinks-on-linux/|symbolic link]] from /openils/var/web/eg2 to Open-ILS/web/eg2 it will watch this directory for new files and recompile them on the fly.
  
 **Circulation Pop-Up Messages** **Circulation Pop-Up Messages**
newdevs/landscape/tree.1606156806.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.