Hi,
after installing the latest version of the guestbook and giving it all the default settings (page, guestbook-stylesheet, etc) and making a test entry I notice the following:
in the entry-form I've added an e-mail address "firstname.lastname@email.com"
in the entry-list the address then appears as: "firstname lastname email com" so that's not quite nice.
How to overcome this?
format of e-mail address displayed in guestbook
Re: format of e-mail address displayed in guestbook
Use $entries[entry].e_mail instead of $entries[entry].e_mail_cloaked.
In the Entry List Template change
to
Regards,
D
In the Entry List Template change
Code: Select all
{if $entries[entry].e_mail}
<span class="cms-guestbook-entry-email">
{mailto address=$entries[entry].e_mail encode="hex" text=$entries[entry].e_mail_cloaked extra="title=\"`$titles.e_mail` `$entries[entry].sender`\""}
</span>
{/if}
Code: Select all
{if $entries[entry].e_mail}
<span class="cms-guestbook-entry-email">
{mailto address=$entries[entry].e_mail encode="hex" text=$entries[entry].e_mail extra="title=\"`$titles.e_mail` `$entries[entry].sender`\""}
</span>
{/if}
D

