From 4f2c518b3445c66b0f899ed35f5c17217ae29441 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 13 Apr 2012 09:28:22 -0400 Subject: [PATCH] added apache error log example; moved CSS bits down w/ other customization; added TODO Signed-off-by: Bill Erickson --- eg2012_tpac.txt | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/eg2012_tpac.txt b/eg2012_tpac.txt index e63dc86c8..4eb2778ab 100644 --- a/eg2012_tpac.txt +++ b/eg2012_tpac.txt @@ -119,10 +119,6 @@ TT Syntax - Conditionals and Loops ------------------------------------------------------------------------------ -Common customizations - styles ------------------------------- - - * CSS files live in /openils/var/web/css/skin/default/opac/ Template Toolkit Syntax: I18N ----------------------------- @@ -184,6 +180,12 @@ Overriding Templates Example |image:images/tmpl_override_home_tpac.png[] |=== +Common customizations - styles +------------------------------ + + * CSS files live in /openils/var/web/css/skin/default/opac/ + * TODO: add a CSS example + Common Modifications -------------------- @@ -199,6 +201,13 @@ PerlSetVar OILSWebDebugTemplate "true" ------------------------------------------------------------------------------ * The Apache error log (e.g. /var/log/apache2/error.log) is the starting point for debugging practically all TPAC errors. +[source, bash] +------------------------------------------------------------------------------ +[Mon Apr 09 10:36:21 2012] [warn] [client 50.79.238.214] +egweb: template error: undef error - Can't call +method "org_unit" on an undefined value at +/usr/local/share/perl/5.10.1/OpenILS/WWW/EGCatLoader/Util.pm line 166.\n +------------------------------------------------------------------------------ Experimenting With TPAC As a Platform -------------------------------------- -- 2.11.0