[Bug 3690] New: opacsmallimage doesn't appear anywhere but entry page in OPAC
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3690 Summary: opacsmallimage doesn't appear anywhere but entry page in OPAC Product: Koha Version: rel_3_0 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P5 Component: Templates AssignedTo: oleonard@myacpl.org ReportedBy: jwagner@ptfs.com Estimated Hours: 0.0 Change sponsored?: --- If you specify a custom image in the opacsmallimage syspref, it shows in the masthead when you go to the root URL for the OPAC. However, if you do a search or go to any other page, it doesn't show. The link is present, if you hover over the area you see an outlined box. If you click on the area you're taken back to the main OPAC screen, but the image still doesn't show at that point. I looked at the masthead.inc code and at the page source, and it seems to be reading and finding the image. It's just that something is blocking it from displaying. I've tested this on a plain vanilla latest-Koha system, and also on one with some custom css settings; no difference in behavior. With a syspref setting like opac-tmpl/prog/images/SITE/logo_small.jpg First entry point page source code, when the image displays: <h1 id="libraryname" style="background-image: url('opac-tmpl/prog/images/SITE/logo_small.jpg');"> <a href="/cgi-bin/koha/opac-main.pl">SITE Library</a></h1> Any other page source code, when the image does not display: <h1 id="libraryname" style="background-image: url('opac-tmpl/prog/images/SITE/logo_small.jpg');"> <a href="/cgi-bin/koha/opac-main.pl">SITE Library</a></h1> Any ideas? The source code looks the same. Some kind of stylesheet issue? -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3690 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> 2009-10-06 14:54:37 --- My only guess is that it's a path problem? The description of the preference says "Enter a complete URL to an image to replace the default Koha logo." It works fine for me with a full URL ("http://www.myacpl.org/themes/npl/logo.png"). -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3690 --- Comment #2 from Jane Wagner <jwagner@ptfs.com> 2009-10-06 15:48:30 --- I did try entering the syspref as a full path (complete with http etc.) but it made no difference -- it shows on the root URL screen but not anywhere else. It appears to be the same section of code controlling the display, and you can see the path and file name in the source code. Much puzzled.... -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3690 --- Comment #3 from Jane Wagner <jwagner@ptfs.com> 2009-10-06 16:27:25 --- Discussion with Owen on the IRC -- he hasn't been able to replicate, but I did on a clean, untouched, up to date system, using a delivered image file. I set the opacsmallimage syspref to opac-tmpl/prog/images/koha-logo-black.png, and it shows fine at the root URL. The black box (image is black) is there in the masthead. When I do a search or anything else, the black box goes away and it's back to the blue masthead line. The script link is there if you hover over it, and works (goes back to main OPAC page). Can anyone else replicate the problem? -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3690 Jane Wagner <jwagner@ptfs.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Jane Wagner <jwagner@ptfs.com> 2009-10-06 16:33:29 --- Never mind.... Per Owen's suggestion I added a preceding slash to the path in the syspref (i.e., /opac-tmpl/prog/images/SITE/logo_small.jpg) and that seems to have fixed it. Sigh. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com