Author |
Message |
31/03/2009 18:01:59
|
Roger Eriksson
Beginner
Joined: 31/03/2009 17:25:34
Messages: 7
Offline
|
Hi!
I've installed the guestbook, and set the width to 600px.
My homepage consists of three frames; top, left and main. I'm opening the guestbook on the main frame. When opening the guestbook it is placed in horizontal center, but I would like to have it adjusted to the left, so it is close to the left frame. I assume it's possible, but how do I do it?
Im old and not so familiar with coding so I need some good instructions. I'm able to go in to the administration site and edit the php files, but not sure what has to be changed.
Regards from a white an beautiful Jamtland, Sweden
Roger
|
|
31/03/2009 22:13:51
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
At a guess open body.tpl and change all align="center" to align="left"
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
02/04/2009 23:14:16
|
Roger Eriksson
Beginner
Joined: 31/03/2009 17:25:34
Messages: 7
Offline
|
Thanks!
I've tried that - made changes in 4 places, didn't work. I've also tried changing OpenCentered to OpenWindow in form.tpl, without success.
Any other suggestions?
//Roger
|
|
02/04/2009 23:31:24
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I don't have AG installed so can yo upost link to yours so I can see.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
03/04/2009 18:49:50
|
Roger Eriksson
Beginner
Joined: 31/03/2009 17:25:34
Messages: 7
Offline
|
Hi!
Here it is:
http://www.kartboken89.se/advancedguestbook/
and if you want to see it within our website/homepage:
http://www.kartboken89.se/
click the button below "HEM" (Home in Swedish)
//Roger
|
|
03/04/2009 19:34:13
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I look at the HTML of your guestbook and straight away I can see
<body bgcolor="#FFFFFF" link="#006699" vlink="#006699">
<form method="post" action="index.php">
<table border="0" cellspacing="0" cellpadding="2" align="center" width="600p">
All the table aligns are saying center. Also notice the 600p. You need to correct that by logging in to admin and adding the missing x.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
04/04/2009 00:06:52
|
Roger Eriksson
Beginner
Joined: 31/03/2009 17:25:34
Messages: 7
Offline
|
Hi again!
Strange, but if I add a x, it will be erased as I hit the "Submit settings" button - left is "600p"?
More strange things, yesterday when I change from center to left in 4 places in body - nothing happened ??? Today it seems like I get 4 cells in a raw where in the "objects" now are aligned to the left? What the heck did I miss yesterday?
However this seems to be a little to difficult for me, maybe it's best to search some local help. It seems like it has to be a buch of changes to get the things were I want them to be. Or do you think you can guide me, I'm really not a pro in this area?
//Roger
|
|
04/04/2009 10:50:55
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I suppose the easiest way would be to put the whole guestbook in a div. Open body.php and just after <body put
<div style="text-align: left; width: 630px;">
Then just before </body> (I think this might be in footer.php) put
</div>
Do same in form.php and comment.php
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
04/04/2009 14:02:58
|
Roger Eriksson
Beginner
Joined: 31/03/2009 17:25:34
Messages: 7
Offline
|
Hi again and thanks!
This I found in the header.php:
</head>
<body bgcolor="$VARS[pbgcolor]" link="$VARS[link_color]" vlink="$VARS[link_color]">
and this in the footer.php:
<center><b><font face="Arial, Helvetica, sans-serif" color="#CCCCCC" size="1"><a href="http://www.proxy2.de" target="_blank"><font color="#CCCCCC" size="1">Advanced Guestbook 2.4.4</font></a></font></b></center>
<\div> (should be here I think??)
</body>
</html>
In the files form and comment I found no line with the word body?
//Roger
|
|
04/04/2009 15:25:59
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
That's because it's in the header which makes life easier.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
04/04/2009 17:12:11
|
Roger Eriksson
Beginner
Joined: 31/03/2009 17:25:34
Messages: 7
Offline
|
OK!
Should it look like this then?
</head>
<body bgcolor="$VARS[pbgcolor]" link="$VARS[link_color]" vlink="$VARS[link_color]">
<div style="text-align: left; width: 630px;">
So I don't have to bother with the other files then?
//Roger
|
|
04/04/2009 17:20:15
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
yup just header and footer
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
04/04/2009 22:07:39
|
Roger Eriksson
Beginner
Joined: 31/03/2009 17:25:34
Messages: 7
Offline
|
Hi!
Allmost right. Some problem appeared.
Menu items in admin page and hyperling areas doesn't fit. So if I want to log out I have to move the cursor a little bit right of "Log out" to get the "Hand cursor".
The guestbook was moved to the left but text was squezeed and some icons was placed infront of the text for e.g. sign guestbook and admin. Also text in admin page was squezeed.
So I assume there have to be some more changes done somewhere?
//Roger
|
|
|