You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/abcd-modules/opac-abcd/opac-admin/general.md
+60-17Lines changed: 60 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,22 +6,62 @@ sidebar_position: 2
6
6
7
7
# System Architecture & Global Configuration
8
8
9
-
The ABCD OPAC is not just a search interface; it is a file-based CMS controlled by a hierarchy of configuration files. Understanding this architecture is crucial for troubleshooting and advanced customization.
9
+
The ABCD OPAC is controlled by a hierarchy of configuration files. While advanced users can edit these files directly, the system provides a robust **Graphic Interface (GUI)** to manage global parameters, visual identity, and system cache.
10
10
11
-
## 1. The Bootloader: `config_opac.php`
12
-
Located in the root of the OPAC (or linked from Central), this PHP file is the first to run. It dictates the environment variables.
This interface is the primary way to configure the behavior and look of your portal. It saves changes directly to the `opac.def` file without requiring manual text editing.
***`OpacHttp`**: Must match your server's URL exactly. If images break, check this first.
37
-
***`styles`**: Points to the CSS file in `assets/css/`.
38
-
***`charset`**: Usually `UTF-8` or `ISO-8859-1`. If special characters appear as `ã`, check this setting.
77
+
:::warning URL Configuration
78
+
The parameter **`OpacHttp`** is critical. It must match your server's public URL exactly. If images break or AJAX searches fail, check this value in the file manually.
79
+
:::
80
+
81
+
---
39
82
40
-
## 3. The `opac_conf` Directory Structure
83
+
## 4. The `opac_conf` Directory Structure
41
84
42
-
The `bases/opac_conf/` folder contains the "Global Configuration" that applies to all databases unless overridden.
85
+
The `bases/opac_conf/` folder contains the "Global Configuration" assets that apply to all databases.
43
86
44
87
***`bases.dat`**: The master list of databases available in the OPAC.
45
88
***`lang.tab`**: Maps language codes (en, es, pt) to human-readable names.
46
89
***`formatos.dat`**: Defines the output options (ISO, Word, Print) available in the toolbar.
47
-
***`record_toolbar.tab`**: Controls which icons appear above records (Print, Reserve, etc.).
90
+
***`record_toolbar.tab`**: Controls which icons appear above records (Print, Reserve, etc.).
0 commit comments