[Koha] OPAC Main User Block not updating content
Chris Brown
chris at stayawake.co.uk
Wed Feb 12 03:47:56 NZDT 2025
Hi Mesfin,
I also had the problem of seeing content in OPACMainUserBlock that I
thought I had deleted. Eventually I realised that the HTML editor has two
tabs, called "Default" and (in my case) "English". It appears that the
English tab takes precedence. Edits you make to the Default tab won't have
any effect. This may not be the problem in your case, but it's worth a look.
Hope this helps
Chris Brown
On Thu, Feb 6, 2025 at 7:29 PM Mesfin Teshome <
Mesfin.Teshome at africainternational.edu> wrote:
> Greetings all,
> I have a strange problem with the Koha OPAC Main User Block. I have
> removed the OPAC Main User Block content using the HTML customization
> block, edited it but doesn't change anything when I go back to the page. I
> have restarted Koha services, Koha-plack, cleared Koha cache, cleared my
> browser cache and nothing seems to work. When I inspect the Koha OPAC page,
> I see this what is below. It looks like there is some static content and I
> don't know where and how to edit it. Please help
>
> Here is a code I see when I inspect the page.
>
> <div style="float:center; width:720px; height:720px;">
>
> <font color="green" align="center"></font><h2><font color="green"
> align="center"><u>WELCOME TO THE RICHARD ONDENG' LIBRARY</u></font></h2>
> <p align="" center="">
> The library is named after Richard Ondeng' an individual who has
> contributed a great deal to the establishment and <br>
> development of the University.
>
> </p><p>Our main mission is to support the university community in becoming
> the best information provision center for <br>
> academic and research needs by providing the necessary resources and a
> conducive study environment.</p>
>
>
> <p>Our print resources are placed in open stacks for the convenience of
> users. The library maintains open access shelves <br>to give enough
> choices to users so that they can select desired information materials.
> They can go directly to stacks <br> and look for what they require if the
> search results show that it is available. <br> Access to electronic
> resources is also available.</p>
> <center><h2><font color="green"><u>
> <a href="
> https://lib.pacuniversity.ac.ke/index.php/recent-library-acquisitions/"
> style="color: #D4AF37" target="_blank">RECENT LIBRARY
> ACQUISITIONS:</a></u></font></h2><p>
>
>
> </p><table border="0" cell="" padding="0" spacing="0">
> <tbody><tr>
> <td align="left" valign="top" width="0%"><img id="i1" img=""
> border="0" width="140" src="
> https://m.media-amazon.com/images/I/61JUWlWSJpL._SL1279_.jpg"
> alt="img"></td>
> <td align="left" valign="top" width="0%"><img id="i2" img=""
> border="0" width="140" src="
> https://m.media-amazon.com/images/I/411eliqiFxL.jpg" alt="img"></td>
> <td align="left" valign="top" width="0%"><img id="i3" img=""
> border="0" width="140" src="
> https://m.media-amazon.com/images/I/71U9s8bPSDL._SL1500_.jpg"
> alt="img"></td>
> <td align="left" valign="top" width="0%"><img id="i4" img=""
> border="0" width="140" src="
> https://m.media-amazon.com/images/I/51SGyPaLSwL.jpg" alt="img"></td>
> <td align="left" valign="top" width="0%"><img id="i5" img=""
> border="0" width="140" src="
> https://m.media-amazon.com/images/I/619Wbnyn6fL._SL1360_.jpg"
> alt="img"></td>
>
> </tr>
> <tr>
>
> <td align="left" valign="top" width="0%"><img id="i6" img=""
> border="0" width="140" src="
> https://m.media-amazon.com/images/I/81JT7ZMYtKL._SL1500_.jpg"
> alt="img"></td>
> <td align="left" valign="top" width="0%"><img id="i7" img=""
> border="0" width="140" src="
> https://m.media-amazon.com/images/I/517UdiFXJ5L.jpg" alt="img"></td>
> <td align="left" valign="top" width="0%"><img id="i8" img=""
> border="0" width="140" src="
> https://m.media-amazon.com/images/I/91AvWqIC8vL._SL1500_.jpg"
> alt="img"></td>
> <td align="left" valign="top" width="0%"><img id="i9" img=""
> border="0" width="140" src="
> https://m.media-amazon.com/images/I/81a7s0cJ1mS._SL1500_.jpg"
> alt="img"></td>
> <td align="left" valign="top" width="0%"><img id="i10" img=""
> border="0" width="140" src="
> https://m.media-amazon.com/images/I/81j-i2ayp2L._SL1500_.jpg"
> alt="img"></td>
>
> </tr>
> </tbody></table>
>
>
> <script type="text/javascript">
>
> zxcRandomSlideShow.init({
> ID:'i1', // the unique ID name of the image.
> (string)
> SRCArray:[ // an array ofimage SRCs.
> (string)
> 'https://m.media-amazon.com/images/I/411c2dN2TuL.jpg',
> 'https://m.media-amazon.com/images/I/610yESaJdlL._SL1200_.jpg',
> 'https://m.media-amazon.com/images/I/61JUWlWSJpL._SL1279_.jpg',
> 'https://m.media-amazon.com/images/I/61ctefd6zML._SL1200_.jpg'
> ],
> Hold:4, //(optional) the auto rotate hold delay in seconds.
> (number, default = 5)
> Load:5 //(optional) the time allowed to load all images in seconds.
> (number, default = 20)
> });
>
> zxcRandomSlideShow.init({
> ID:'i2', // the unique ID name of the image.
> (string)
> SRCArray:[ // an array ofimage SRCs.
> (string)
> 'https://m.media-amazon.com/images/I/411eliqiFxL.jpg',
> 'https://m.media-amazon.com/images/I/71s8TWgwl3L._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/71s8TWgwl3L._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/71YaCfBXI8S._SL1400_.jpg',
> 'https://m.media-amazon.com/images/I/81VrT2HxvAL._SL1500_.jpg'
> ]
> });
>
> zxcRandomSlideShow.init({
> ID:'i3', // the unique ID name of the image.
> (string)
> SRCArray:[ // an array ofimage SRCs.
> (string)
> 'https://m.media-amazon.com/images/I/71ZUz2POSiL._SL1400_.jpg',
> 'https://m.media-amazon.com/images/I/71U9s8bPSDL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/51uzYU6yPgL.jpg',
> 'https://m.media-amazon.com/images/I/81vfwhee1jL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/81fw+8E6dNL._SL1500_.jpg'
> ]
> });
>
> zxcRandomSlideShow.init({
> ID:'i4', // the unique ID name of the image.
> (string)
> SRCArray:[ // an array ofimage SRCs.
> (string)
> 'https://m.media-amazon.com/images/I/51SGyPaLSwL.jpg',
> 'https://m.media-amazon.com/images/I/81NebhCQWkL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/51VLZfc7mgL.jpg',
> 'https://m.media-amazon.com/images/I/81Cj6Tq3vvL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/51KRiLyo5sL.jpg'
> ]
> });
>
> zxcRandomSlideShow.init({
> ID:'i5', // the unique ID name of the image.
> (string)
> SRCArray:[ // an array ofimage SRCs.
> (string)
> 'https://m.media-amazon.com/images/I/51Q3pzKA0lL.jpg',
> 'https://m.media-amazon.com/images/I/61csEVbDyTL._SL1360_.jpg',
> 'https://m.media-amazon.com/images/I/619Wbnyn6fL._SL1360_.jpg',
> 'https://m.media-amazon.com/images/I/819VDBw++nL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/618CPZ20H2L._SL1500_.jpg'
> ]
> });
>
> zxcRandomSlideShow.init({
> ID:'i6', // the unique ID name of the image.
> (string)
> SRCArray:[ // an array ofimage SRCs.
> (string)
> 'https://m.media-amazon.com/images/I/718rygGF+oL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/81JT7ZMYtKL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/51Xw9rp70aL.jpg',
> 'https://m.media-amazon.com/images/I/41ZohSBokcL.jpg',
> 'https://m.media-amazon.com/images/I/718rygGF+oL._SL1500_.jpg'
> ]
> });
>
> zxcRandomSlideShow.init({
> ID:'i7', // the unique ID name of the image.
> (string)
> SRCArray:[ // an array ofimage SRCs.
> (string)
> 'https://m.media-amazon.com/images/I/71e+M5tmYJL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/81XAwSkvXdL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/517UdiFXJ5L.jpg',
> 'https://m.media-amazon.com/images/I/61GJlhRcdML._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/81us5k18nBL._SL1500_.jpg'
> ]
> });
>
> zxcRandomSlideShow.init({
> ID:'i8', // the unique ID name of the image.
> (string)
> SRCArray:[ // an array ofimage SRCs.
> (string)
> 'https://m.media-amazon.com/images/I/91AvWqIC8vL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/41sNTtBVs6L.jpg',
> 'https://m.media-amazon.com/images/I/71i9+jj+5fL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/71korOPNlML._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/81IlLGTv8FL._SL1500_.jpg'
> ]
> });
>
> zxcRandomSlideShow.init({
> ID:'i9', // the unique ID name of the image.
> (string)
> SRCArray:[ // an array ofimage SRCs.
> (string)
> 'https://m.media-amazon.com/images/I/816eeQ2nqpL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/61t-1Od3qVL._SL1200_.jpg',
> 'https://m.media-amazon.com/images/I/816EjV8j3xL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/81d85r5VW9L._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/81a7s0cJ1mS._SL1500_.jpg'
> ]
> });
>
> zxcRandomSlideShow.init({
> ID:'i10', // the unique ID name of the image.
> (string)
> SRCArray:[ // an array ofimage SRCs.
> (string)
> 'https://m.media-amazon.com/images/I/71I+EqyEQfL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/815CDHzmMqL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/81gHXR8y1sL._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/81j-i2ayp2L._SL1500_.jpg',
> 'https://m.media-amazon.com/images/I/81oN5+7jniL._SL1500_.jpg'
> ]
> });
> </script>
> </center></div>
> _______________________________________________
>
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
More information about the Koha
mailing list