[Koha] Using News in 20.05

Quỳnh Vũ Đỗ quynhvd at thanglong.edu.vn
Wed Sep 16 04:44:08 NZST 2020


Hello
I fixed the problem.
I was confused between the two languages interfaces (En and vi-VN). Indeed,
I had to create two similar new entries, one with display location as
opacheader (en) and the other one as opacheader (vi-VN) to get my banner
displayed on both language interfaces.
Best regards

=================
M. Vũ Đỗ Quỳnh (Ph.D)
Trường Đại học Thăng Long - Université de Thang Long - Thang Long
University (Hanoi, Vietnam)
Phó Hiệu Trưởng, phụ trách HTQT - Vice-recteur chargé de la coopération
internationale - Vice-Rector in charge of International Cooperation
Web: http://thanglong.edu.vn/


Vào Th 3, 15 thg 9, 2020 vào lúc 23:13 Quỳnh Vũ Đỗ <
quynhvd at thanglong.edu.vn> đã viết:

> Hello
> I am studying the use of Koha. I started with Koha 19.11 under Ubuntu
> 16.04 LTS. Koha has been upgraded to version 20.05.03.
>
> Information that was before put in OpacMainUserBlock has now been
> transferred to some news item. When I want to edit news item, under the
> drop-down menu I now have the following choices:
> All
> Librarian interface
> Slip
> en (English language interface)
> OPAC News (en)
> OpacNavRight (en)
> opacheader (en)
> OpacCustomSearch (en)
> OpacMainUserBlock (en)
> opaccredits (en)
> OpacLoginInstructions (en)
> vi-VN (Vietnamese language interface)
> with same entries as under English language flagged as vi-VN
>
> Now I have a graphic banner for the library which in version 19.11 was in
> the field opacheader under Koha Administration/Global System
> Prefereneces/OPAC. It has now moved in 20.05 to the news with display
> location opacheader (vi-VN) with the following content:
> <center><img src="/opac-tmpl/bootstrap/images/banner.png" style="width:
> auto; height: auto;" /></center>
>
> However, the link is broken as the banner image does not appear other than
> as a "broken image" in the News table and when I reload the OPAC home page
> I can't see any banner image either.
>
> When I look at the source code of the OPAC home page I can see the
> following code:
>
> <div id="opacheader">  <div class="opacheader_vi-VN_item">  <div class="opacheader_vi-VN_body"><center><img src="/opac-tmpl/bootstrap/images/banner.png" style="width: auto; height: auto;" /></center></div> </div>
>
> However, if I click on the img src link on the OPAC home page source code,
> I effectively can display the banner.png image. So although the link looks
> correct but the image doesn't show up on the OPAC page. Does somebody know
> how to fix that link problem?
>
> Besides, this graphic banner should appear in opacheader (en) as well as
> in opacheader (vi-VN). I figured to do that would require to create two
> identical news entries, one displayed in opacheader (en) and the other one
> in opacheader (vi-VN)? Am I right?
>
> It seems with 20.05 that you can have either to display a news item
> everywhere (all) or only in a single location, not two locations?
>
> Any hints and explanation would be appreciated. Thanks for reading.
> Best regards
> Quynh
>
> Thanks
>
> =================
> M. Vũ Đỗ Quỳnh (Ph.D)
> Trường Đại học Thăng Long - Université de Thang Long - Thang Long
> University (Hanoi, Vietnam)
> Phó Hiệu Trưởng, phụ trách HTQT - Vice-recteur chargé de la coopération
> internationale - Vice-Rector in charge of International Cooperation
> Web: http://thanglong.edu.vn/
>


More information about the Koha mailing list