jfriend
Apr-02-2009, 08:53 AM
I've mentioned part of this problem before, but now the problem seems to be coming up even more for Smugmug customers.
The basic problem is that the gallery password prompt gives no indication in the body tag (no useful classes there at all) that this is a password page or what category, sub-category or gallery this prompt is for.
If you are a Smugmug customer who uses multiple banners or multiple navbars, that means there is NO way to correctly show the right banner or navbar on a password prompt. In fact, for many customers, they end up with both banners and/or both navbars showing.
Here's a recent thread (http://www.dgrin.com/showthread.php?t=126201) from a customer with this problem.
The solution is to put a number of classes in the body tag on the password page like is done everywhere else on Smugmug. The body tag should include classes for "passwordPage" and the category, sub-category and gallery classes so that people can use the normal CSS method of determining which header/footer information should show on this password page. Then, people's normal CSS for hiding/showing the right header/footer information will "just work" in password pages too and if they want to further control it, they can do special stuff just for password pages.
Right now, all that can be individually styled on a password page is the actual password prompt (inside the #content div) because that's the only place there are CSS classes that indicate this is a password prompt. There are no classes that indicate this at the scope of the header and footer. This is definitely a CSS design oversight. I'm hoping you can fix this and help out your multi-banner customers who use password prompts.
The basic problem is that the gallery password prompt gives no indication in the body tag (no useful classes there at all) that this is a password page or what category, sub-category or gallery this prompt is for.
If you are a Smugmug customer who uses multiple banners or multiple navbars, that means there is NO way to correctly show the right banner or navbar on a password prompt. In fact, for many customers, they end up with both banners and/or both navbars showing.
Here's a recent thread (http://www.dgrin.com/showthread.php?t=126201) from a customer with this problem.
The solution is to put a number of classes in the body tag on the password page like is done everywhere else on Smugmug. The body tag should include classes for "passwordPage" and the category, sub-category and gallery classes so that people can use the normal CSS method of determining which header/footer information should show on this password page. Then, people's normal CSS for hiding/showing the right header/footer information will "just work" in password pages too and if they want to further control it, they can do special stuff just for password pages.
Right now, all that can be individually styled on a password page is the actual password prompt (inside the #content div) because that's the only place there are CSS classes that indicate this is a password prompt. There are no classes that indicate this at the scope of the header and footer. This is definitely a CSS design oversight. I'm hoping you can fix this and help out your multi-banner customers who use password prompts.