guestbook template
Code: Select all
<div class="cms-guestbook">
{if $show_insertbutton}
{$insertbutton}
{/if}
{if $show_errors}
{foreach from=$errors item=error}
<br /><span style="font-weight:bold;color:red">{$error}</span>
{/foreach}
{/if}
<br />
{$form}
{if $show_smileys}
{$smileys}
{/if}
{if $show_msg}
<br /><br /><strong>{$msg}</strong>
{/if}
{if $show_entries}
{$entrylist}
{/if}
</div>
Code: Select all
{cms_module module="Guestbook" number="10" shownow="1" sortasc="0" smiley="0" showaddform="1" lang="en_EN" dateformat="d. m. Y"}
all i want is to show my form always, even after i add new message. so i changed this from FALSE to TRUE on line 120 of action.default.php
Code: Select all
$frontend->setShowForm(FALSE);
Code: Select all
$_POST['sender'] = '';
$_POST['homepage'] = '';
$_POST['message'] = '';
$_POST['country'] = '';
$_POST['location'] = '';
$_POST['e_mail'] = '';
so .. do you have any ideas what to do about it ? thanks a lot