http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7387

Elliott Davis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #15503|0                           |1
        is obsolete|                            |

--- Comment #13 from Elliott Davis <[email protected]> ---
Created attachment 15892
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15892&action=edit
Bug 7387 : Adding a caching plugin for Template::Toolkit

To use this you need to do something like

-[% INCLUDE 'doc-head-open.inc' %]
+[% USE cache = Cache %]
+[% cache.inc(
+    'template' => 'doc-head-open.inc',
+    'keys' => {'dochead' => 'dochead'},
+    'ttl' => 360
+    )
+%]

Signed-off-by: Jared Camins-Esakov <[email protected]>
Signed-off-by: Bernardo Gonzalez Kriegel <[email protected]>

Comment: Works. Tested modifying as described opac-main.tt
Follow up to fix tabulations.

Signed-off-by: Elliott Davis <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to