Re: Re: Re: Re: Re: uc_cart - HELP!

Posts: 24
Joined: 10/16/2007

Oh, I understand now how it can be realized...
You only need to find a uc_cart_block.js and here find next:
if (expanded_block == false)"
and change "false" on "true"

Then you need to find in this file next code:

/**
* Toggle the shopping cart block open and closed.
*/
function cart_toggle(uc_cart_path) {
  $('#block-cart-contents').toggle();

  isrc = $('#block-cart-title-arrow').attr('src');
  if (isrc.toLowerCase().match("up") != null) {
    $('#block-cart-title-arrow').attr('src', uc_cart_path + '/images/bullet-arrow-down.gif');
  }
  else {
    $('#block-cart-title-arrow').attr('src', uc_cart_path + '/images/bullet-arrow-up.gif');
  }
}                                                                            

And DELETE IT...

Done, I have an uc_cart-block, that user can't open! =)

uc_cart - HELP! By: dimon_td (7 replies) Sat, 11/10/2007 - 14:32