• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support Legacy SmugMug Customization Jquery breaking Package Order form

Need some help with your New SmugMug Site?

Dgrin Challenges

Our Challenges moderator has lined up an new set of challenges for you. The Weekly Word Challenge. Get all the details and participate in the conversation Weekly Word Challenge.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Looking for a little challenge? The Dgrin Mini-Challenges are a great way to challenge yourself. Take a moment to look through past winners and find the current Mini Challenge here.

From Around the Net

Enjoy a few of our favorite articles from around the 'net. If you have something you think we should see, post it here and we'll have a look.

Journeys

Landscapes

Sports

 
Thread Tools Display Modes
Old Oct-17-2011, 07:42 PM
#1
bsingin64 is offline bsingin64 OP
Wittwer Photography
Jquery breaking Package Order form
Logged out. (or logged in as Owner)
Click on a gallery with photo packages eligible.
Click "Buy" -> "Photo Package"
Nothing is displayed to the user.

I'm getting a response back from the network that looks like it's going to load my package buying screen but never shows it to me. I am loading jquery into the site and it appears when it's removed, the package buying screen is able to render again.

this is what I have loaded into the top javascript
HTML Code:
 
<!-- Load jQuery from googleapis -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" >
</script>
<script>
var $j = jQuery.noConflict();
</script>
 
and this is what's in the bottom
HTML Code:
$j("#homelink").attr("href","http://www.wittwerphotography.com");
Old Oct-18-2011, 10:50 PM
#2
Smug Eric is offline Smug Eric
Smug Hero
Smug Eric's Avatar
My guess is since much of our system is YUI based that there is a conflict in one of the calls when jquery is loaded. What you might want to do is only use the code from jquery that you are using
__________________
Eric
Support Hero and Customeister
http://www.smugmug.com/help
Old Apr-14-2012, 10:56 AM
#3
saltykisses is offline saltykisses
AKA Krista
saltykisses's Avatar
I'm having the same issue!!
__________________
www.saltykissesphotography.com
AKA Krista
Old Apr-14-2012, 04:17 PM
#4
jfriend is offline jfriend
Scripting dude-volunteer
Quote:
Originally Posted by bsingin64 View Post
Logged out. (or logged in as Owner)
Click on a gallery with photo packages eligible.
Click "Buy" -> "Photo Package"
Nothing is displayed to the user.

I'm getting a response back from the network that looks like it's going to load my package buying screen but never shows it to me. I am loading jquery into the site and it appears when it's removed, the package buying screen is able to render again.

this is what I have loaded into the top javascript
HTML Code:
 
<!-- Load jQuery from googleapis -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" >
</script>
<script>
var $j = jQuery.noConflict();
</script>
 
and this is what's in the bottom
HTML Code:
$j("#homelink").attr("href","http://www.wittwerphotography.com");
If that's all you're using jQuery for, this is easy to do with YUI which is already built into Smugmug and then you wouldn't have to load jQuery.

jQuery is being used by other Smugmug sites so there isn't a generic problem with using jQuery on Smugmug, but I don't know what is causing the conflict on your site. It's also a little unusual to be using such an older version of jQuery (1.4) when the current version is up to 1.7.
__________________
--John
Homepage Popular
JFriend's javascript customizations Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Tell The World!  
Tags
bug , jquery , packages
Similar Threads Thread Starter Forum Replies Last Post
Packages for prints drager SmugMug Pro Sales Support 11 Jun-04-2007 04:56 PM
Q: Work-around for Print Package options? chicodawg Legacy SmugMug Customization 0 Apr-07-2007 05:55 PM
Need to generate order form with thumnails and file names pspphotos SmugMug Pro Sales Support 5 Mar-17-2007 08:02 PM
Order Never Registered / Order History Brett Mickelson SmugMug Pro Sales Support 8 Jan-25-2007 05:12 AM
SmugMug Feature Requests #6 Andy SmugMug Support 313 Mar-13-2006 01:11 PM


Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump