|
|
Thread Tools | Display Modes |
|
#41
|
||
|
Beginner grinner
|
Quote:
|
|
|
|
||
|
#42
|
|
|
Big grins
|
Hi,
This doesn't work for me. My slideshows disappear when I add the code so I removed it again. Where should I start troubleshooting? www.patrikwinge.com |
|
|
|
|
#43
|
||
|
Major grins
|
Quote:
add the above code to your bottom js box and we'll have a look at it |
|
|
|
||
|
#44
|
|
|
Big grins
|
Done!
I want the menu to say Login instead of Client so I change the script somewhere... Patrik |
|
|
|
|
#45
|
||
|
Major grins
|
Quote:
Remove what you have in there and replace it with code from this post: http://www.dgrin.com/showpost.php?p=...6&postcount=43 You also need to have a category named "Clients" with a few public galleries in there. |
|
|
|
||
|
#46
|
|
|
Big grins
|
Done!
Still no slideshows... |
|
|
|
|
#47
|
|
|
Big grins
|
Done. My slideshows have returned!
What's next? |
|
|
|
|
#48
|
|
|
Major grins
|
In your custom header box, change this line: Code:
<li><a href="/photos/i-nhH5vjr/0/L/i-nhH5vjr-L.jpg" title="">Login</a></li> to this: Code:
<li><a href="/Clients" title="">Login</a></li> |
|
|
|
|
#49
|
|
|
Big grins
|
Done. It works!
Thank you! Just one question... Is it necessary to have public galleries? Can't they be hidden? |
|
|
|
|
#50
|
|
|
Big grins
|
Thank you!
I appreciate your help! |
|
|
|
|
#51
|
|
|
Big grins
|
The Contact Me page we added now doesn't work.
"We're awfully sorry, but there was a problem. Please try again." |
|
|
|
|
#52
|
||
|
Major grins
|
Quote:
if you have a "pro" account, you need to enable it from your main control panel...if you do not have a pro account then we can just remove it from the code I supplied you |
|
|
|
||
|
#53
|
|
|
Big grins
|
I have a Power account.
|
|
|
|
|
#54
|
|
|
Big grins
|
Thank YOU!
You are a Hero! |
|
|
|
|
#55
|
|
|
Big grins
|
I've found one issue...
The Login dialogue disappears outside (?) the screen on a small device like iPhone. It is possible to login, but it's difficult. Any idea? |
|
|
|
|
#56
|
||
|
Beginner grinner
|
Thank you! Works great!
Quote:
|
|
|
|
||
|
#57
|
|
|
Big grins
|
Any idea?
|
|
|
|
|
#58
|
|
|
Major grins
|
Not really....you could make the log-in on a page....give this a try and see what you think...
1. make a new gallery with no pictures 2. add this to the gallery description area: Code:
<html>
<script type="text/javascript">
function handleEnter (field, event) {
var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
if (keyCode == 13) {
var i;
for (i = 0; i < field.form.elements.length; i++)
if (field == field.form.elements[i])
break;
i = (i + 1) % field.form.elements.length;
opensmugLinkWindow(document.customerproofs.customerid.value);
return false;
}
else
return true;
}
function opensmugLinkWindow(smugid)
{
if (document.customerproofs.customerid.value == "")
{
alert("Client Login ID required");
document.customerproofs.customerid.focus();
}
else
{
var smugmugbase = "/Clients/";
var smugidname = smugid;
var URL = smugmugbase + smugidname;
window.location=URL;
}
}
YE.onDOMReady(function()
{
clientLogin('MY_LINK_ID', 'Clients');
});
function clientLogin(trigger, category)
{
var clDialog = new YAHOO.widget.Panel("clDialog", {
width: "325px",
fixedcenter: true,
zIndex: 100,
constraintovichport: true,
underlay: "shadow",
modal: true,
close: true,
visible: false,
draggable: false
});
clDialog.setHeader("<h1>Client Login</h1><p>Please enter your client login to continue.</p>");
clDialog.setBody('<label>client login : </label><input id="clUsername" type="text" />');
clDialog.setFooter('<input id="clLoginButton" type="button" value="submit" />');
clDialog.render(document.body);
YE.addListener(trigger, 'click', function(e)
{
YE.preventDefault(e);
clDialog.show();
});
YE.addListener('clLoginButton', 'click', function(e)
{
var value = YD.get('clUsername').value;
if(value != '') {
var url = '/' + category + '/' + value;
window.location.href = url;
}
else {
alert('Please enter your username to continue.');
}
});
};
</script>
<div style="width: 70%; text-align: center; border: 1px solid #999999; background-color: #F5FFEA; margin:auto; padding: 8px">
<p style="font-size: 1.2em">To view your photographs in our gallery, please enter the password you received by your photographer.</p>
<p>
Note: Passwords are case-sensitive and should be entered exactly as provided.
</p>
<div id="login-form">
<form name="customerproofs" id="customerproofs" action="#" method="get"><input class="inputleft" name="customerid" id="customerid" value="" size="30" maxlength="30" tabindex="1" onkeypress="return handleEnter(this, event)" type="text"></form>
<a href="javascript:opensmugLinkWindow(document.customerproofs.customerid.value);"><img src="http://www.joerallen.com/photos/i-fr.../i-fr9ZXNj.png" border="0"></a>
</div>
<br>
<p>
If you need assistance, please contact us at (###) ###-#### or at <a href="mailto:youremail@yourdomain.com">ouremail@yourdomain.com</a>
</p>
</div>
</html>
Last edited by J Allen; Dec-28-2012 at 03:03 AM. |
|
|
|
|
#59
|
|
|
Big grins
|
Done, but I can't login. The gallery is public and has no password.
http://www.patrikwinge.com/Clients/test4 I'm not sure if I follow your thoughts... Does this mean that I have to give the visitors a unique url to their gallery? |
|
|
|
|
#60
|
|
|
Big grins
|
Mobile Site question
I am using this and it seems to be working great on a desktop computer. Right now I have the mobile site disabled and it has had issues with people trying to log in on a mobile device. I have it disabled because it shows all the client galleries without making anyone log in. Is there a way to handle this better?
UPDATE: I decided to cut down on confusion, I have enabled the mobile site (which I would rather use) and will use the clients category mostly for testing till I can find a easy way for this to work with the clients category. Basically, if a client has to use a password to see the gallery on a desktop, they should on the mobile site as well. For now there are two galleries in that category that are public. I'm using the one April N Gracie for testing. The password to that gallery is "Test". If there is a way to make this work with the mobile site, please let me know. Thanks for any and all help.
__________________
Never dwell on the past or dread the future, live life in the present, it's better that way. www.dalevaughnphotography.com Last edited by dvaughn; Apr-28-2012 at 07:19 AM. |
|
|
|
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| Please help with changing color of image display area in my galleries | RBgunner | SmugMug Customization | 1 | May-08-2009 12:43 PM | |
| Why Can't I see my Client Galleries in Firefox? | deegee | SmugMug Customization | 2 | Sep-22-2008 09:48 AM | |
| Your Proofing and Editing process | thenimirra | Mind Your Own Business | 5 | Aug-18-2008 11:41 AM | |
| Client proofing and bride picks her top 75 photos and I only see and print them. | aacreation | SmugMug Customization | 4 | Jul-23-2008 09:29 AM | |
| San Francisco Bay Area Photography Group | dkapp | The Big Picture | 3 | Nov-07-2004 07:35 PM | |
| Thread Tools | |
| Display Modes | |
|
|