I'm running this with D5.9 and have tested Top, Bottom (which work as expected) but when selecting "Separate Page" it just ends up on top.

Comments

pmlehtim’s picture

Version: 5.x-2.x-dev » 6.x-2.x-dev

Same problem also in D6.

sun’s picture

Title: Location of entry submission form - Separate Page - Not working » Location of form on separate page not working

@all: Do you mean Panels integration or regular Guestbook pages?

pmlehtim’s picture

I use regular guestbook.
- "Site guestbook only" is selected.
- Posting settings -> Location of entry submission form: -> Separate page -> not working, it just ends up on top.

I had also some problems when installling module... I had to modify SQL to take default values away from the TEXT fields. It is said in MYSQL reference that BLOB and TEXT columns cannot have DEFAULT values.

I didn't tried newest dev version yet. I am still using version 6.x-2.x-dev (2008-Sep-11).

sun’s picture

StatusFileSize
new2.67 KB

OT: Thanks, committed attached patch to both 6.x branches to remove default values for text columns.

I need to investigate this issue further. But patches are also welcome. :)

toniw’s picture

Version: 6.x-2.x-dev » 5.x-2.x-dev
Status: Active » Needs work
StatusFileSize
new684 bytes

This seems to be caused by function theme_guestbook_form_entry_form no longer being called, at least, the comment in the code seems to indicate that:

function theme_guestbook_form_entry_form($form) {
  $output  = '';
  // @todo Since #access is set on the overall form now, this function along
  // with the switch below is no longer executed.

Since that function returns just the link to the guestbook form if 'separate page' is selected instead of the whole form, this is no longer done. Seems to me this should not be a decision that is to be made in a theming function anyway...

I fixed the problem for my site with the attached patch. It is not nice code, but it gets the work done. Maybe sun can massage it into well-behaving code :-)

Sorry for setting the version back to 5.x.2.x, but that is what I am using and that is what this patch is written against.

toniw’s picture

Status: Needs work » Needs review
StatusFileSize
new650 bytes

While adding a CAPTCHA to my guestbooks in order to fight spam I discovered that my fix in #5 does not work nicely together with the captcha module. I tweaked the code a little and now it works ok.

Golem07’s picture

Hi,

I have been searching the issues but could not find any other thread that deals with this issue. I am actually using the Panels integration (latest 2.x dev Guestbook)and would like to outsource the input form to a separate page. Has there been any progress for the D6 version?

Thx a lot in advance

Hetta’s picture

#6 doesn't work against the d6 version - or, it does add a link "add guestbook entry", but clicking that link (which goes to /guestbook/0/form) doesn't do anything.

zmove’s picture

Any news about this issue ? I encounter the same problem on the latest 6-2.x dev version

sndo’s picture

Version: 5.x-2.x-dev » 6.x-2.x-dev

The same problem still exists on the latest 6.x-2.x-dev version.

KirstenLangholz’s picture

dito

travisimo’s picture

This still hasn't been fixed. Please FIX!

sun’s picture

Status: Needs review » Fixed

Committed a fix for this to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.