Jump to content

Search the Community

Showing results for tags 'Javascript'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • CubeCart News & Announcements
    • News & Announcements
  • CubeCart Support Forums
    • Issue / Bug Reporting & Feature Requests
    • Install & Upgrade Support
    • Official CubeCart Hosting
    • Technical Help
    • Customising Look & Feel
  • CubeCart Extension Marketplace
    • Visit the CubeCart Extension Marketplace
    • Extension Discussion
    • Developer Forum
  • General
    • General Discussion
    • Show Off

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Found 4 results

  1. I have the problem very much similar to >this conversation. I have modified the javascript to be this: $('img.autosubmit').each(function(){ if ($(this).hasClass('form-name')) { var formname = $(this).attr('rel');console.debug('CubeCart: auto-submitting '+formname); $('form#'+formname).submit(); } else {console.debug('CubeCart: auto-submitting ' +'this:'+$(this).attr('src')+' ' +'parent-form:'+$(this).parents('form').attr('id')); $(this).parents('form:first').submit(); } }); The console reports the string, then nothing. The submit() function does not fire. Even in the console where I can execute this: $('#gateway-transfer').submit(); Nothing happens. I have commented out the plugins.php call thinking that there may be javascript binding interfering, but no change. (It seems the currency and language drop-down selectors also don't work. I'll have to make some experiments with that.) I have made very few and inconsequential changes to the CC527 Mican skin. I have not yet tried on a different browser, nor a different skin, but looking at the template code for all the skins, there is no difference to how content.gateway.php is coded.
  2. I'm working on the following site: www.ledwholesalers.com/store I'm simply trying to add a banner into the header between the logo and the search box, but the banner I'm using requires me to drop in a JavaScript code snippet. I'm working with a theme called Killer, so I went to /skins/Killer/styleTemplates/global/index.tpl and found the following... <div id="topHeader"> <div id="sessionBox"> <div style="padding: 15px 8px 15px 15px; margin: 0px;"> {SEARCH_FORM} {SESSION} </div> </div> </div> So I simply adjusted that like this... <div id="topHeader"> <div id="paypal_bml_banner" style="width:800px; height:66px; text-align:center; margin:0 auto 0 auto;"> <script type="text/javascript" data-pp-pubid="1524e6a130" data-pp-placementtype="800x66"> (function (d, t) { "use strict"; var s = d.getElementsByTagName(t)[0], n = d.createElement(t); n.src = "//paypal.adtag.where.com/merchant.js"; s.parentNode.insertBefore(n, s); }(document, "script")); </script> </div> <div id="sessionBox"> <div style="padding: 15px 8px 15px 15px; margin: 0px;"> {SEARCH_FORM} {SESSION} </div> </div> </div> When I did that, the site logo displayed and the banner displayed, but then everything after that was blank white. The rest of the page wouldn't load at all. I'm guessing something about that JavaScript snippet is interfering with CubeCart somehow..?? I've removed it from that site because that is my client's live site. I tried to install CubeCart on my local test server so I could play with it there, but I don't have Zend Optimizer or IonCube Loader so it won't run. I'm going to get that done so I can provide a page that has the banner on it, but in the mean-time if you know any tips to help me with this more quickly I'd greatly appreciate it.
  3. I'd like to disable the "save image as" option from the mouse right click button. Any suggestions where I can find tutorial for that? If no, how would I disable right mouse click?
  4. Hello All, I am trying to install an RSS Feed onto the front page of : http://www.dcssltd.co.uk I am using the ZRSS Feed plugin. http://www.zazar.net/developers/jquery/zrssfeed/ Problem is it isnt loading anything within the <scripts>. This is only on the scripts that arent linking into an external file. It removes all javascript from the file. Is this a security measure from cubecart? Please help. Im not always checking the forums so if you feel like it reply or ask questions at my twitter account @reececropley
  • Create New...