Testing modifications to navigation.
authorTerran McCanna <tmccanna@georgialibraries.org>
Thu, 17 Oct 2013 22:57:18 +0000 (18:57 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2016 12:37:45 +0000 (07:37 -0500)
Open-ILS/src/templates/kpac/parts/breadcrumb.tt2
Open-ILS/src/templates/kpac/parts/grid.tt2

index 4532070..15abce0 100644 (file)
@@ -2,7 +2,7 @@
     [% clear_params = ['action', 'hold', 'pickup_lib', 'ac', 'copy_limit', 'copy_offset', 'list'] %]
 
     <!-- home page -->
-    <a href="[% mkurl(ctx.kpac_root _ '/home', {}, ['trail', 'page']) %]
+    <a href="[%- ctx.kpac_root -%]/home
         class="bread_home"><img alt="[% l('Home') %]" 
         src="[% ctx.media_prefix %]/images/kpac/home_icon.png" /></a>
 
index 803ead5..566a6a3 100644 (file)
@@ -27,13 +27,12 @@ MACRO render_kpac_grid(page_id) BLOCK;
 
         [% ELSIF cell.type == 'maintopic'; %]
 
-        <td width="[% width %]%"><a href="[%- ctx.kpac_root -%]/results?query=[%- cell.content -%];nosprop=1"><img 
+        <td width="[% width %]%"><a href="[%- ctx.kpac_root -%]/results?query=[%- cell.content -%];nosprop=1;locg=1"><img 
             src="[% kpac_img_path(cell.img) %]" alt="" /><span>[% cell.name %]</span></a></td>
 
         [% ELSIF cell.type == 'simplesearch'; %]
 
-        <td width="[% width %]%"><a href="[% 
-            mkurl(ctx.kpac_root _ '/results', {query => cell.content, nosprop => 1}, ['page', 'qtype']) %]"><img 
+        <td width="[% width %]%"><a href="[%- ctx.kpac_root -%]/results?query=[%- cell.content -%];nosprop=1;trail=[%- CGI.url_param('trail') -%]"><img 
             src="[% kpac_img_path(cell.img) %]" alt="" /><span>[% cell.name %]</span></a></td>
 
         [% ELSIF cell.type == 'link'; %]