[Isis-users] Display format in IAH
De Smet Egbert
egbert.desmet at uantwerpen.be
Sat May 20 10:29:40 CEST 2017
Hi,
since this is more general relevance, I am copying in the ISIS users-list.
The 'cruzarABCD' script is a solution Guilda offered to make hyperlinking in a PFT easier, but in fact we don't need it that much since there is an alternative way of doing the same : putting a href-link with a full wxis-IsisScript list of parameters in the PFT.
An example will make it much more clear : for the author field in the RDA-database we have the following code in the 'rda_opac.pft' :
if p(v100) then '<tr><td colspan="2">AUTHOR:</td><td colspan="3" id="v100">',if npost(['rda'],'AU_'v100^a)>1 then (v100^a,'<a href="/cgi-bin/utf8/wxis/iah/scripts/?IsisScript=iah.xis&lang=en&base=RDA&nextAction=lnk&exprSearch=',s(mpu,v100^a,mpl),'&indexSearch=AU" target=new>',' (',f(npost(['rda'],'AU_'v100^a),1,0),' works from same author in our calatog)</a><br>') else | |v100^1,| |v100^2,| |v100^a,| |v100^b,| |v100^c,| |v100^d,| |v100^e,| |v100^f,| |v100^g,| |v100^j,| |v100^k,| |v100^l,| |v100^n,| |v100^p,| |v100^q,| |v100^t,| |v100^u,| |v100^0,| |v100^4, if iocc<>nocc(v100) then '<br>' fi/, fi,'</td></tr>' fi/
Here in fact on the first part is relevant, as the 2nd part is meant to show the number of other records from the same author (the 'FRBR' idea). So the part to understand and copy is :
<a href="/cgi-bin/utf8/wxis/iah/scripts/?IsisScript=iah.xis&lang=en&base=RDA&nextAction=lnk&exprSearch=',s(mpu,v100^a,mpl),'&indexSearch=AU target=new>
This will re-launch wxis with the OPAC script on the RDA-database and search on the uppercase author-name (V100^a).
I hope this helps to create similar such applications.
Egbert de Smet
Universiteit Antwerpen
________________________________
From: Renate Morgenstern [rmorgenstern at iway.na]
Sent: Saturday, May 20, 2017 9:23 AM
To: De Smet Egbert
Subject: Display format in IAH
Good morning,
I am busy with a display format in IAH. In ABCD central this format works fine, by searching for other subjects, but not in IAH.
(if p(V901) then '<tr><td width=20% valign=top><font face=arial size=2><b>Subjects</b></td><td valign=top><font face=arial size=2>'`<a href='javascript:CruzarABCD("`v901`","SU_")'>`v901`</a>`,'</td>' fi/)
Is there a way that I can use something else than CruzarABCD?
Thanks and regards,
Renate
--
Renate Morgenstern
Tel.: +264 61 242124
Cell: +264 81 2910284
Fax: 088637518
Windhoek, Namibia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20170520/0aacd8f9/attachment.html>
More information about the isis-users
mailing list