I have the following code working great and I'd like to keep it in my page.tpl.php file but for some reason when the jQuery javascript is loaded on the Checkout page it breaks the shipping quote routine and never displays a quote.
Is there a way to add this code to the Cart view page or is there an easy workaround for this issue with the shipping quote routine just hanging?
I tried doing a custom module (failed) and also adding it in template.php but I don't think I can ref javascript in there? Been at this for days now to no avail so just reaching out to the community for help.
// call fancybox
function openFancy(){
setTimeout( function() {$('#autoStart').trigger('click'); },1000); // show after a second
}
// create cookie on button click
function dontShow(){
$.fancybox.close(); // optional
$.cookie('hidecoupon', 'yes', { expires: 5 }); // expiration in 5 days
}
$(document).ready(function() {
I'm looking for support using drush to upgrade from d6 to d7 using the drush site-update @ command.
The Issue (I think) is creating proper aliases for source and target site root and uri. I've reviewed READ.ME, the forums docs from acquia, various tutorials, etc. and tried various combinations without success.
The command "site-update @drupal7" aborts with Site alias not found: @drupal7.
My current aliases (residing in .drush/aliases.drushrc.php) are
can someone kindly assist me in where to go within the drupal backend to shut off or disable backend join access to my website. I keep getting spammers that are going into the member join form and adding sales ads on the website, they are some how getting around the capcha and adding random crap onto the site. So i would like to allow the site to be viewed and content managed by the admin, and members can only view information or pay member dues via the join form via paypal.
I should preface this with "I have no experience with Drupal" :)
Looking for some advice here. I've been asked to resolve some issues with a business' Drupal installation. The person who did the initial setup had left the user registration page open. It looks like some bot was autocreating accounts and creating content with malicious links mixed among random placeholder text pointing to websites ("buy discount flip flops here!" etc.). There were about 6500 extra accounts that had been made, and an additional 3,000 pages with content like this.