CAMPPAIN Posted December 9, 2002 Posted December 9, 2002 How would you go about editing the html in the advanced guestbook? I figured out how to put my own logos and whatnot in there but once I tried to edit the html and it deleted everything. It says something about "Give write permissions to the webserver on the template files" now i tried to go to the template files in my file manager and tried giving diff properties to it and no luck, thats hwne everything got deleted. Quote
knucklehead Posted December 10, 2002 Posted December 10, 2002 The AG doesnt like to be touched. I have tried to do this myself and fubard entire guestbooks. Took me several hours to sort the darn thing back together. Quote
Arta Posted December 10, 2002 Posted December 10, 2002 It is touchy, but what i did...may not be the best thing I edited a couple of the templates (not the code parts, just text parts) through the control panel so that MY words would show, rather than their default stuff. For instance, i put a link back to my main site, since that was lacking and annoying Quote
CAMPPAIN Posted December 10, 2002 Author Posted December 10, 2002 It is touchy, but what i did...may not be the best thing I edited a couple of the templates (not the code parts, just text parts) through the control panel so that MY words would show, rather than their default stuff. For instance, i put a link back to my main site, since that was lacking and annoying Could you explain how you did that? thats the main thing I want to do. Just a back button. It wont allow you to include the ahref tag in your logo images Quote
Arta Posted December 11, 2002 Posted December 11, 2002 Go into your CPanel, then navigate your way to the guestbook folder. Within that folder, there is another folder called Templates. within that folder find body.php click on that file, then choose to edit that file. after the image tags, but before the <!--Start JumpMenu --> tag, you will see an autoclock code, then the default words for the guestbook. You can change those words and put your ahref tags in there too. then hit "SAVE" and you should be able to see it in just a couple minutes. i hope that helps. Quote
CAMPPAIN Posted December 11, 2002 Author Posted December 11, 2002 HA HA sweet yup that helped! I was also able to resize my images so they were true to size and not restricted by the defualt img settings. I also saved the original file just in case i messed something up. *edit* also all this time I've been deleting my html files and reloading them instead of editing them right there! *smacks forehead* Quote
Arta Posted December 13, 2002 Posted December 13, 2002 Very glad I helped you have a cool page btw Quote
cheval Posted January 1, 2003 Posted January 1, 2003 I have been trying to edit the words in my guestbook too. I tried the suggestions and was able to change the default logo, but not the default words. I found the location mentioned, but there are no words to change. This is all I have in that location: <!--Start JumpMenu --> $TPL[GB_JUMPMENU] <!--End JumpMenu --> Any suggestions would be very much appreciated! Quote
cheval Posted January 1, 2003 Posted January 1, 2003 This is the code up to that point. <form method="post" action="index.php"> <table border="0" cellspacing="0" cellpadding="2" align="center" width="$VARS[width]"> <tr> <td width="56%"><img src="img/logo.jpg" width="42" height="40"></td> <td width="44%" align="right" class="font2"><img src="img/signing.gif" width="90" height="30" border="0"> <br> <img src="img/sign.gif" width="9" height="12"> <a href="addentry.php"><b>$LANG[bookMess3]</b></a> <b>| <img src="img/lock.gif" width="9" height="11"> <a href="admin.php">$LANG[bookMess5]</a></b> </td> </tr> <tr> <td width="56%" class="font2">$TPL[GB_TIME]<br>$LANG[bookMess6]</td> <td width="44%" valign="bottom" align="right"> <!--Start JumpMenu --> Quote
Arta Posted January 1, 2003 Posted January 1, 2003 </tr> <tr> <td width="56%" class="font2">$TPL[GB_TIME]<br>$LANG[bookMess6]</td> <td width="44%" valign="bottom" align="right"> <!--Start JumpMenu -->[/color][/color] The part where it says <br>$LANG[bookMess6]</td> is the default text.. put your own stuff in there.. for instance, mine has this code in that spot... <span style='color:blue'> <br>Thanks for stopping by!<br>You may return to my homepage <a href="http://www.artamishia.com">here.</a></td> </span> I hope that helps.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.