<font size="2"><font face="verdana,sans-serif">Hi Elaine,<br><br></font></font><font size="2"><font face="verdana,sans-serif">Here's a script I found which lets you</font></font><font size="2"><font face="verdana,sans-serif"> use the system preference "opacuserjs" to rename the cart function. This script below changes "Cart" to "Book Bag" but you can use choose any other label:<br>
<br>$("a.addtocart").text('Add to Book Bag');<br><br>// redefining messages to use "book bag"<br>MSG_BASKET_EMPTY = _("Your book bag is currently empty");<br>MSG_RECORD_IN_BASKET = _("This item is already in your book bag");<br>
MSG_RECORD_ADDED = _("This item has been added to your book bag");<br>MSG_NRECORDS_ADDED = _(" item(s) added to your book bag");<br>MSG_NRECORDS_IN_BASKET = _("already in your book bag");<br>
MSG_NO_RECORD_ADDED = _("No item was added to your book bag");<br>MSG_CONFIRM_DEL_BASKET = _("Are you sure you want to empty your book bag?");<br><br> $(".container > h1:contains('Your Cart')").html("Your Book Bag");<br>
$("span.addto").click( function(){<br> $("select#addto > option:contains('Cart')").html("Book Bag");<br> });<br><br>top_button_convert = function() {<br> basketcount = $("#basketcount").html();<br>
$("#cartmenulink").html(<br>'<i></i><span><i></i><span></span><img src="/opac-tmpl/prog/images/cart.gif" width="14" height="14" alt="" border="0" /> Book Bag<span id="basketcount">' + basketcount + '</span></span>'<br>
);<br>};<br> top_button_convert(); // run once <br> $("a.addtocart").click( function(){<br> top_button_convert(); // run on given clicks<br> });<br> <br><br>You need to enter the above script between the following beginning and opening lines:<br>
<br></font></font><span style="font-family: verdana,sans-serif;">$(document).ready(function(){</span><br style="font-family: verdana,sans-serif;"><br style="font-family: verdana,sans-serif;"><br style="font-family: verdana,sans-serif;">
<span style="font-family: verdana,sans-serif;">});</span><br clear="all"><br><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">There may be a way to use Jquery to hide the actual Cart button but I don't have any scripts that do this. </span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">Bev</span><br><br>* * * * <br>Beverly Church <br>LibLime Project Manager<br><br>phone: 1-888-564-2457 ext. 717 <br> 1-301-654-8088 ext. 292<br>
email: <a href="mailto:bchurch@liblime.com" target="_blank">bchurch@liblime.com</a><br>skype: beverlychurch<br>
<br><br><div class="gmail_quote">On Thu, Nov 25, 2010 at 5:29 AM, Elaine Bradtke <span dir="ltr"><<a href="mailto:eb@efdss.org">eb@efdss.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
We are in the process of fine tuning the OPAC display, and have an<br>
outside web designer providing a 'skin' in the house style so it<br>
matches the rest of the Society's web sites.<br>
Having learned html back in the dark ages, I'm not yet up to speed on<br>
css. I'm not even sure which parts are governed by the skin and which<br>
are internal koha stylesheets.<br>
Is this spelled out somewhere?<br>
<br>
My boss has taken an extreme dislike to the 'cart' button. He would<br>
like it removed, or at least called something else (still pondering<br>
about what to change it to).<br>
I have experimented with them both, and there seems to be very little<br>
difference between the cart function and the list function. Am I<br>
wrong in this?<br>
<br>
Has anyone switched it off, or changed the name of the button?<br>
--<br>
Elaine Bradtke<br>
Data Wrangler<br>
VWML<br>
English Folk Dance and Song Society | <a href="http://www.efdss.org" target="_blank">http://www.efdss.org</a><br>
Cecil Sharp House, 2 Regent's Park Road, London NW1 7AY<br>
Tel +44 (0) 20 7485 2206 ext 36<br>
--------------------------------------------------------------------------<br>
Registered Company No. 297142<br>
Charity Registered in England and Wales No. 305999<br>
---------------------------------------------------------------------------<br>
"Writing about music is like dancing about architecture"<br>
--Elvis Costello (Musician magazine No. 60 (October 1983), p. 52)<br>
_______________________________________________<br>
Koha mailing list <a href="http://koha-community.org" target="_blank">http://koha-community.org</a><br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</blockquote></div><br>