Page 1 of 1
[Solved] Guestbook all the way to the bottom?
Posted: Sun Jul 20, 2008 3:00 pm
by libralion
Hi everybody,
I have a guestbook on my testsite and for some reason it is all the way to the bottom of the page. I thought maybe it was too wide, so I changed the right column, but that didnot change it.
Anybody know why it is all the way down?
This is my testsite:
http://www.jomedio.nl/cmsmadesimple/index.php?page=gastenboek
Re: Guestbook all the way to the bottom?
Posted: Sun Jul 20, 2008 4:04 pm
by christiaans
First of all, this seems to be an IE only error.
The first entry in the guestbook, by Johanna, is wider then the rest of the guestbook, and might be interfering (for ie).
I'll take a better look at it later tonight, and if I find the answer, I'll let you know.

Re: Guestbook all the way to the bottom?
Posted: Sun Jul 20, 2008 4:13 pm
by Dee
The guestbook messages are shown underneath the form to post a new message, this is default behaviour.
You can call the module with the showaddform parameter set to false to show a button for a new message instead of the whole form.
Code: Select all
{cms_module module=Guestbook showaddform="0"}
To change the place where the form appears, edit the Guestbook template (Content -> Guestbook -> Guestbook Templates -> Guestbook Template)
This block shows the button if showaddform="0":
Code: Select all
{if $show_insertbutton}
{$insertbutton}
{/if}
This block shows the form:
And this block shows the messages (so put that above the previously mentioned 2 blocks to have the form underneath the messages for example):
Code: Select all
{if $show_entries}
{$entrylist}
{/if}
Re: Guestbook all the way to the bottom?
Posted: Sun Jul 20, 2008 4:31 pm
by libralion
@christiaans, I removed the entry in the guestbook, but still the guestbook is at the bottom of the page
@ dee, I don't know exactly what you mean with your post. I don't want the submitbutton on the page, I only want the guestbookform to appear at the top of the page instead of at the bottom. I see it is alright in FF so the width of the guestbook is ok. I have no clue why it is behaving like that in IE. In another templated that I tested it shows up ok in IE, so it must be template related.
Re: Guestbook all the way to the bottom?
Posted: Sun Jul 20, 2008 5:00 pm
by Dee
Yes sorry - I don't have IE here, so I thought you meant you didn't want the guestbook (entries) to appear underneath the form.
Re: Guestbook all the way to the bottom?
Posted: Sun Jul 20, 2008 7:45 pm
by christiaans
Hey, I was going to check once again, and found out it displays properly now. I reckon you fixed it?
I reckon it had to do with either margins or paddings?
Please go ahead and let us know what it was, it might help solving future problems.
Re: Guestbook all the way to the bottom?
Posted: Sun Jul 20, 2008 8:14 pm
by libralion
christiaans wrote:
Hey, I was going to check once again, and found out it displays properly now. I reckon you fixed it?
I reckon it had to do with either margins or paddings?
Please go ahead and let us know what it was, it might help solving future problems.
Wel I am not exactly sure what happened, because the last time I looked it was not ok. This is what I did: I added this to the guestbook stylesheet:
I think that must have done it.
The odd thing is, that my contactform has the same problem. I made a new stylesheet and added that textarea code also, but so far the contactform is still at the bottom.
See:
http://www.jomedio.nl/cmsmadesimple/index.php?page=contact
Maybe in an hour or so it is ok too?

Re: Guestbook all the way to the bottom?
Posted: Mon Jul 21, 2008 8:41 am
by libralion
Well it didnot solve itselfÂ

, so I searched further and found it!
The problem most likely is that there is too little space in the main window for the form, so therefore the form goes to the bottom of the page.
When I choose in the form template the Default template or the Template from Sample form it works, because it puts the text above the fields and that way the form can be displayed normally. So solved!

Re: [Solved]Guestbook all the way to the bottom?
Posted: Mon Jul 21, 2008 12:04 pm
by christiaans
I see, I thought it'd be something with the width and/or margins/paddings. Good thing you solved it.
Topic closed.