[Koha] I'm confused about where normal view customization occurs

Joe Atzberger ohiocore at gmail.com
Sat Feb 21 07:24:53 NZDT 2009


Like any page, you can add TMPL_VAR's to the template, and add to the script
that populates it.  It sounds like you should refer to the HTML::Template
perldoc to see how it operates.

The XSL solution is a lot slicker if you can manage it, but that only
applies for the OPAC (when enabled).

I'm not sure what approach you are taking by copying prog, but then using a
"second database" on it.  Copying prog is pretty drastic and is sure to cut
off your developments from mainline updates.  If you use git to control your
code, then you wouldn't need to copy everything (since you could always
revert to the mainline version if it got messed up), and you could still
pull down updates.

--Joe

On Fri, Feb 20, 2009 at 12:46 PM, Doug Dearden <dearden at sarsf.org> wrote:

> Ah, OK.  I have multiple databases and have turned on the xsl option on one
> of them and used it to customize how the clickable links appear, as that
> database is cataloging on-line resources.  I ran into trouble turning on xsl
> for the other databases, as the "prog" directory is hard coded in many
> places in the code, and copying the file structure over to a new directory
> and pointing a second database at that structure didn't work, too many
> things still fetched from "prog".  Because of that I left the xsl option off
> on the main catalog DB.
>
> So is the answer to my question that the customization for this occurs at
> the Perl template level?  Or is there some other place in the Admin that I
> can add other fields to the Title line in the Normal View?
>
> Thanks,
>
> Doug
>
> >>> Nicole Engard <nicole.engard at liblime.com> 2/20/2009 9:14 AM >>>
> The screenshots in the manual are probably different because some were
> taken with XSL on and others with it off.  There are two system
> preferences that control this and can be found here:
>
> https://sites.google.com/a/liblime.com/koha-manual/Home/Table-of-Contents/administration/Global-Preferences/Global-Preferences--OPAC
>
> ---
>
> Nicole C. Engard
> Open Source Evangelist, LibLime
> (888) Koha ILS (564-2457) ext. 714
> nce at liblime.com
> AIM/Y!/Skype: nengard
>
> http://liblime.com
> http://blogs.liblime.com/open-sesame/
>
>
>
> On Fri, Feb 20, 2009 at 11:06 AM, Doug Dearden <dearden at sarsf.org> wrote:
> > Hello all,
> >
> > I am trying to figure out if there is an easy way to add to the fields
> that appear in the Normal view of the OPAC and the Staff Client.
>  Specifically, we currently see the 245$a field as the Title in the search
> results and detail view page.  Is there a way in the Admin screens to change
> the display so the 245$b subfield is appended to the 245$a subfield, and
> display both as the Title?  I thought this would be customizable from within
> the frameworks, but I don't seem to be having any luck.  Looking at the doc
> on this page:
> https://sites.google.com/a/liblime.com/koha-manual/Home/Table-of-Contents/opac/opac-details-pagethe samples show titles with two different formats, one of which appears to
> be displaying info that is normally in the 245$b field.
> >
> > Is this customization that takes place at the Perl template level?  Or is
> there something I am missing in the Admin?
> >
> > Thanks,
> >
> > Doug
> >
> > _______________________________________________
> > Koha mailing list
> > Koha at lists.katipo.co.nz
> > http://lists.katipo.co.nz/mailman/listinfo/koha
> >
>
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090220/9fca47a1/attachment.htm 


More information about the Koha mailing list