]> git.evergreen-ils.org Git - Evergreen.git/blob - docs/RELEASE_NOTES_NEXT/Circulation/m_account_url.adoc
check in first draft of release notes
[Evergreen.git] / docs / RELEASE_NOTES_NEXT / Circulation / m_account_url.adoc
1 == Template Support for Information and My Account URLs ==
2
3 A new setting has been added named `lib.my_account_url` to provide a
4 path usable in templates to a patron's account login. Both this and
5 the existing `lib.info_url` settings are now available in the
6 server-side processed templates, action triggers and traditional print
7 receipts.
8
9 Web side processed templates can be found in 
10 Administration -> Server Administration -> Print Templates.
11
12 You can add settings using the following syntax:
13
14 [source,html]
15 ----
16 <div>[% helpers.get_org_setting(staff_org.id, 'lib.info_url'); %]</div>
17 <div>[% helpers.get_org_setting(staff_org.id, 'lib.my_account_url'); %]</div>
18 ----
19
20 Print Receipts found in Administration -> Workstation -> Print Templates
21 can be added with these includes:
22
23 [source,conf]
24 ----
25 {{includes.info_url}}
26 {{includes.my_account_url}}
27 ----
28
29 Action triggers can use both values with the `helpers.get_org_setting`
30 include.  Example:
31
32 [source,conf]
33 ----
34 [% helpers.get_org_setting(circ_lib.id, 'lib.my_account_url') %]
35 ----