Hi Scott, folks,

No expert here, but we are in a consortium with multiple libraries and if your 
EG installation is like ours, each library has a custom set of TT2 files.  If 
this one listed below is not present in the library that does not wish to 
display the due dates, you can copy the default one into their directory and 
make the needed customizations....at least that's how we've done it before....

--Tony

-----Original Message-----
From: Open-ils-general 
[mailto:[email protected]] On Behalf Of Scott 
Thomas
Sent: Wednesday, February 11, 2015 8:57 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] TPAC and Due Date

Hi Galen,
   Thank you for replying. We are in a consortium and other members may not 
want to hide the due date. My assumption is that OPAC templates can be 
customized for each individual library in a consortium. Is this assumption 
correct? I am new to EG and still trying to figure out how all of this fits 
together.

I really appreciate it.

Scott

-----Original Message-----
From: Open-ils-general 
[mailto:[email protected]] On Behalf Of Galen 
Charlton
Sent: Wednesday, February 11, 2015 8:49 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] TPAC and Due Date

Hi,

On Wed, Feb 11, 2015 at 8:24 AM, Scott Thomas <[email protected]> wrote:
>    Is there any way to prevent the Due Date from displaying in the 
> TPAC? We turned it off in our old ILS because some patrons would get 
> upset if a book they wanted was grossly overdue. If there is no way to 
> prevent it from displaying, is there a way to make long overdue items not be 
> OPAC Visible?

Yes, that's a simple TPAC template customization.  I'm assuming that you're 
referring to the due date column on the item list on the record details page; 
if so, one could override the
opac/parts/record/copy_table.tt2 template and comment out or remove the 
following lines:

            <th scope='col'>[% l("Due Date") %]</th>

and

    <td>[% copy_info.due_date | html %]</td>

and

            <td>[%
                IF copy_info.due_date;
                    date.format(
                        ctx.parse_datetime(copy_info.due_date),
                        DATE_FORMAT
                    );
                ELSE;
                    '-';
                END %]</td>

One could also use CSS to hide that column.

Regards,

Galen
--
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email:  [email protected]
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:    http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org & 
http://evergreen-ils.org

Reply via email to