SupportArea

BoltWire is a FREE content management system written in PHP.

Its innovative architecture combined with best-in-class forms processing makes it ideal for creating complex, interactive, web applications fast...


PLUGINS

SKINS

LANGUAGES

Contact Form

Extensions > Plugins > Contact Form

BoltWire comes with built in basic email capabilities. To set up a contact form, simply copy the markup below to page action.contact. Here's a mock demo of what it will look like. You can of course customize and/or style it anyway you want.


Contact Form


Please use the form below to send us your message:

Your Email:
Subject:
Message:


Then, go to site.config and add or edit these two lines:

mailmode: demo
sitemail: your@email.com

To use, simply put a link to the contact form like this:

[[{p}&action=contact|Contact Form]]

After testing, switch the mailmode from demo to active and it should work.

Here's the action.contact page:


! Contact Form

Please use the form below to send us your message:

<code>
[form][t]
[r]
[c width=100px]Your Email:
[c][text from "{~email}" size=40]
[r]
[c]Subject:
[c][text subject size=40]
[r]
[c top]Message:
[c][box body rows=6 cols=35][box]
[r]
[c]
[c right][submit "SEND MAIL"]
[t]
[command to "{sitemail}"]
[command mail]
[form]
</code>

Note

When making a contact form or developing BoltWire locally, e-mail does NOT work! This happens when using XAMPP or WAMP. Follow this guide to get it working.