View Full Version : Help with Guestbook - 'gallery' to 'guestbook' comment
gilbert
Oct-05-2006, 06:32 AM
Hi,
I found this code via FAQ #68...but it's not working for me...The script shows up on the page so that can't be right!
I am trying to create a guestbook like the one Andy has here (http://www.moonriverphotography.com/gallery/729385)...BUT without the small row of images that change...maybe not even the image in the top box...I like the clean look of the comment boxes, and would like them in my colors maybe? I do not know how to get the text by an image and get it all centered. Am I being clear? Just a clean guestbook with at least the text above the comments and the gallery comments to guestbook comments...the script I tried for the word change is below (GALLERY is the # of my guestbook page):
<!-- Change gallery comments wording to guestbook comments -->
<*script type="text/javascript">
if (YAHOO.util.Dom.hasClass(document.body, "gallery_GALLERY"))
{
var objElement = document.getElementById("comment_header")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('gallery', 'guestbook');
objElement.innerHTML = str;
}
}</script*>
<!-- End of change comment word code -->
Andy
Oct-05-2006, 06:46 AM
Hi,
I found this code via FAQ #68...but it's not working for me...The script shows up on the page so that can't be right!
I am trying to create a guestbook like the one Andy has here (http://www.moonriverphotography.com/gallery/729385)...BUT without the small row of images that change...maybe not even the image in the top box...I like the clean look of the comment boxes, and would like them in my colors maybe? I do not know how to get the text by an image and get it all centered. Am I being clear? Just a clean guestbook with at least the text above the comments and the gallery comments to guestbook comments...the script I tried for the word change is below (GALLERY is the # of my guestbook page):
<!-- Change gallery comments wording to guestbook comments -->
<*script type="text/javascript">
if (YAHOO.util.Dom.hasClass(document.body, "gallery_GALLERY"))
{
var objElement = document.getElementById("comment_header")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('gallery', 'guestbook');
objElement.innerHTML = str;
}
}</script*>
<!-- End of change comment word code -->
Gotta lose those asterisks. I did that for you.
gilbert
Oct-05-2006, 07:08 AM
Gotta lose those asterisks. I did that for you.
Man! I really have no idea what's wrong when it's just those simple things!
Thanks :clap
Where can I find help on sorting out where to put the text on the guestbook (don't want the image there either)...I could live with the image or change it, but I don't know how to add text and center it to have the comments centered below (like yours Andy). Here's another one that has the comments lined up nicely (this site) (http://digitalviews.smugmug.com/gallery/855347) (I would like my text where that image is above the comments).
I've been reading but I do not see the first steps on how to get the text on there to play with. :dunno
ivar
Oct-05-2006, 07:48 AM
Man! I really have no idea what's wrong when it's just those simple things!
Thanks :clap
Where can I find help on sorting out where to put the text on the guestbook (don't want the image there either)...I could live with the image or change it, but I don't know how to add text and center it to have the comments centered below (like yours Andy). Here's another one that has the comments lined up nicely (this site) (http://digitalviews.smugmug.com/gallery/855347) (I would like my text where that image is above the comments).
I've been reading but I do not see the first steps on how to get the text on there to play with. :dunnoHi Gilbert,
Add this to your css:
.gallery_1967148 .journal_entry {
text-align: center;
}
.gallery_1967148 .journal_entry img {
display: none;
}This wil remove the image, and center the text. Let us know if you need anything else!
gilbert
Oct-05-2006, 11:59 AM
Thanks Ivar! You rock! :thumb
I have been looking at your new tutorial on the banners for different galleries...Good stuff.
I have tons of questions...but I'll stick to what I can manage and convey clearly...
On the guestbook, or any gallery - can you remove that user name > category > gallery text OR just list the gallery name or something? I wanted to search for that but I do not know what that is called up there.
I removed the slideshow button after searching for that here...
My biggest confusion is this:
I want a gallery of school photos within the "Gallery" gallery (!) and then within the school photos gallery I want to have a gallery for each event (football, soccer, school play).
EDIT #2: This http://rosscollins.smugmug.com/ is what I'm looking for (like the sports navbar dropdown). When you click sports, you see them all, or you can choose the sub-category from the navbar...AND it says the name "sports" in the address then the gallery number...HOW DO YOU DO THAT?!?
How the heck do you do that? That's why I haven't uploaded a ton of photos! I would also like to add what I think is the "drop down" navigation function to a few buttons on my navbar (like the gallery button). Can you do that just to certain buttons?
The second biggest thing is how to get a nice homepage like I have seen with just an image and text, just text, or a slideshow - without showing the galleries there. I think I have read about that, but if someone can point me in the right direction on it I will try it out (do I need to fill out the bio??). EDIT: I THINK I DID THIS WITH THE CODES FROM SEARCHING this post (http://www.dgrin.com/showthread.php?t=29199&highlight=hide+galleries) IS IT RIGHT? TO HAVE TEXT ON MY HOMEPAGE I SHOULD FILL OUT THE BIO?
THANKS SO MUCH...I feel like I'm getting somewhere WITH A TON OF HELP! :D
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.