[Solved] Guestbook all the way to the bottom?
[Solved] Guestbook all the way to the bottom?
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
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
Last edited by Anonymous on Mon Jul 21, 2008 12:04 pm, edited 1 time in total.
-
christiaans
- Power Poster

- Posts: 300
- Joined: Tue Mar 04, 2008 10:37 am
Re: Guestbook all the way to the bottom?
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.
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?
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.
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":
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):
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"}This block shows the button if showaddform="0":
Code: Select all
{if $show_insertbutton}
{$insertbutton}
{/if}Code: Select all
{if $show_form}
{$form}
{/if}Code: Select all
{if $show_entries}
{$entrylist}
{/if}Re: Guestbook all the way to the bottom?
@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.
@ 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.
Last edited by libralion on Sun Jul 20, 2008 6:16 pm, edited 1 time in total.
Re: Guestbook all the way to the bottom?
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.
-
christiaans
- Power Poster

- Posts: 300
- Joined: Tue Mar 04, 2008 10:37 am
Re: Guestbook all the way to the bottom?
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.
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?
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: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.
Code: Select all
textarea {
width: 300px;
}
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?
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!
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!
-
christiaans
- Power Poster

- Posts: 300
- Joined: Tue Mar 04, 2008 10:37 am
Re: [Solved]Guestbook all the way to the bottom?
I see, I thought it'd be something with the width and/or margins/paddings. Good thing you solved it. 
Topic closed.
Topic closed.
