[Koha-devel] Koha 3.12.x and VIAF

Stefano Bargioni bargioni at pusc.it
Mon Dec 2 10:39:59 CET 2013


Hi, Partha:
thanks for detecting this bug. I'm going to correct the wiki page.
In Koha 3.12 please comment out or delete lines

// $($('ul.toolbar')[0]).append('\
// 	<div class="ui-widget" style="margin-top:5px">\
// 		<label for="viaf">VIAF Autosuggest </label> <span id="viaf_reset" title="reset">[X]</span> <input type="text" style="font-size:0.9em" id="viaf" size="80" title="digitare almeno i primi 3 caratteri di un nome">\
// 	</div>\
// ');

and substitute them with
		
$('#authoritytabs').prepend('\
	<div class="ui-widget">\
		<label for="viaf">VIAF Autosuggest:</label> <input type="text" style="font-size:0.9em" id="viaf" size="80" title="Please enter three or more characters of a name">\
	</div>\
');

BTW, 
$('#bibliodescriptions').tabs({ active: 1 } );
belongs to the next entry "Change the default view on OPAC detail pages".
Bye. Stefano


Fridolin SOMERS wrote:

> Hie,
> 
> In wiki page, there is a final note :
> "
> In 3.12 use:
> $('#bibliodescriptions').tabs({ active: 1 } );
> "
> Did you test this ?
> 
> Le 27/09/2013 13:33, Partha Mukhopadhyay a ?crit :
>> Dear all,
>> 
>> The JQuery script
>> (http://wiki.koha-community.org/wiki/JQuery_Library#Add_VIAF_autosuggest_for_new_NAME_authorities)
>> for integrating Koha with VIAF is not working in Koha 3.12.x (tested from 3.12.1
>> to 3.12.5).
>> 
>> Pl. check....
> 


More information about the Koha-devel mailing list