Can't make any guestbook entries
Posted: Thu Sep 14, 2006 10:51 am
Hi. I have a little problem with the Guestbook. I'm using CMSMS 1.0 Hawaii and Guestbook 1.1.2. The guestbook ist included as content-type "page", but the problem appeared with content-type "guestbook" too. Everything works fine, exept I can't make any guestbook entries.
I changed the file class.Guestbook.php (/lib/classes/module/) a little bit by adding some more smileys. I also changed the Guestbook Entry HTML Template and the insertform.tpl. The first one works fine, but changing the insertform.tpl causes the problem, that I don't get any entries into my database. Using the default-insertform.tpl - no problems. Here is my insertform.tpl:
As you can see, I got rid of the table-layout and I kicked out the input-fields for country and location. That's all. Typing my statements, pushing the send-button and I get the successnote. Going back to the entries - yaeh, that's the problem, there are no entries at all. Looking at the database - the same game.
Any ideas, why this doesn't work?
Thanks in advance

Code: Select all
<div class="cms-gastbuch-div-insert">
<form name="insert" action="{$geturl}" method="post">
<input type="hidden" name="flag" value="1" />
<input type="hidden" name="anzeigen" value="1" />
<input type="hidden" name="uid" value="{$uid}" />
<input type="hidden" name="lan" value="{$lan}" />
<fieldset>
<legend>Schreib 'mal wieder</legend>
<p><label for="sender">Name (Pfichtfeld)</label><br />
<input type="text" id="sender" name="sender" value="{$sender}" /></p>
<p><label for="e_mail">eMail-Adresse</label><br />
<input type="text" id="e_mail" name="e_mail" value="{$e_mail}" /></p>
<p><label for="homepage">Homepage</label><br />
<input type="text" id="homepage" name="homepage" value="{$homepage}" /> (ohne http://)</p>
<p><label for="message">Message</label><br />
{$message}</p>
{if $captcha}
<p><label for="captcha">Bitte gib die Zeichen aus dem Bild unten ein</label> <input type="text" name="captcha_phrase" /><br />
{$captcha}
</p>
{/if}
<p>{$submit}</p>
</fieldset>
{$formend}
</div>

Thanks in advance