View Full Version : Gallery/Photo Comments
Oakley
Sep-07-2007, 12:30 PM
Hi there smugmug people.
Could you please change the default comment to "gallery comment" instead of photo comment? Or provide the smugmug user to set the default?
OR --- allow smugmug users to turn off photo comments but keep gallery comments (and vise versa.)
Thanks!
richW
Sep-07-2007, 12:42 PM
Ryan,
Until something else comes around, would a hack work?
http://dgrin.com/showpost.php?p=484109&postcount=7
Oakley
Sep-07-2007, 02:06 PM
Ryan,
Until something else comes around, would a hack work?
http://dgrin.com/showpost.php?p=484109&postcount=7
Hey Rich,
That is close --- but I don't want to restrict people from leaving either a gallery comment or a photo comment. I just want to have the option to set the default to gallery comment.
Thanks for looking for me though. I think for now I'll just live with what I got and see if smugmug decides to add the function later.
Cheers,
devbobo
Sep-07-2007, 05:13 PM
Ryan,
To just default it use this....
YE.onContentReady('commentType', function() {this.selectedIndex = 1});
Cheers,
David
Oakley
Sep-07-2007, 05:54 PM
Ryan,
To just default it use this....
YE.onContentReady('commentType', function() {this.selectedIndex = 1});
Cheers,
David
Thanks David. I pasted that line into my javascript and I don't see a difference. When adding a comment, "This Photo" still comes up as the default.
Thoughts?
devbobo
Sep-07-2007, 08:11 PM
Thanks David. I pasted that line into my javascript and I don't see a difference. When adding a comment, "This Photo" still comes up as the default.
Thoughts?
Sorry reading is hard :lol3
YE.onContentReady('commentType', function() {this.selectedIndex = 2});
Oakley
Sep-07-2007, 10:27 PM
Sorry reading is hard :lol3
YE.onContentReady('commentType', function() {this.selectedIndex = 2});
Perfect! Thanks David...
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.