Building A Quick-And-Dirty Guestbook With patGuestbook (part 2) - When Things Go Wrong (
Page 6 of 8 )
Finally, patGuestbook includes a template to display an error message
to the user when a particular guestbook has been specifically disabled.
<p> </p>
<p> </p>
<form action="{DISPATCHER}"
method="post" name="adder">
<input type="hidden" name="action" value="addEntry">
<input
type="hidden" name="save" value="yes">
<img src="skins/melonfire/img/px.gif"
width="1" height="30" alt=""
border="0"><br> <div align="center"> <table
width="550" cellpadding="0"
cellspacing="0" border="0">
<tr>
<td width="1"
><img src="skins/melonfire/img/px.gif"
width="1" height="1" alt="" border="0"></td>
<td
width="8"><img src="skins/melonfire/img/px.gif"
width="8" height="1" alt=""
border="0"></td>
<td width="532" class="text">
<img src="skins/melonfire/img/px.gif"
width="532"
height="20" alt="" border="0"><br>
Houston, we have a problem...<br>But,
the <span
class="head">{GB_NAME}</span> will be back soon...
<img
src="skins/melonfire/img/px.gif" width="1"
height="20" alt="" border="0"><br>
</td>
<td
width="8"><img src="skins/melonfire/img/px.gif"
width="8" height="1" alt=""
border="0"></td>
<td width="1" ><img src="skins/melonfire/img/px.gif"
width="1"
height="1" alt="" border="0"></td>
</tr>
</table>
</div>
</form>
Pretty simple, this - plain ol' HTML, no fancy-shmancy gimmicks or convoluted
variables. In order to see what it looks like, turn off a guestbook from the administration
module and try accessing it - you should see something like this:
That's about it for the user interface templates that can be customized. If you
thought that was easy and you're hankering for another challenge, you can always
try customizing the administration module as well (alternatively, you could get
up from your computer and go get yourself a life).