1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Access Denied Page Email Form
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: Access Denied Page Email Form
#13050
Access Denied Page Email Form 4 Years, 6 Months ago  
Does anyone have any idea how I can insert this into flitered.php so that users can email a request?

Basically what I need this to do, with the contactengine.php, is email the results of the form to our helpdesk, so that they can add the site, based on organizational policy to the site exception list.

I tried to place this code in the filtered.php in the 'HTML' section.

I added a second 'WebTableOpen' and 'echo' statement, but as you can see I am in over my head.

For some reason I could not post with the code, so I am attaching the files.

Thanks for the help!

Randy
File Attachment:
File Name: filter_attempt.txt
File Size: 6079
Randy Black
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Employed by a non-profit, working to secure our remote locations with ClearOS.

This is my personal account for browsing and listing on the forum.
 
#13057
Re:Access Denied Page Email Form 4 Years, 6 Months ago  
Well I think I found a solution and hopefully it will help someone else out.

The original form is from css-tricks.com/nice-and-simple-contact-form/
It was modified to fit our enviornment.
You will need to make the modification to the following:
contactthanks.php form.html.
You may or may not want a logo, if you do, you will need to create a images
directory in your public dir on your ClearOS server and place that image there.

To get this to work, place the folowing in the 'public' folder on the
ClearOS Server. Mine was '/var/webconfig/htdocs/public/
contactengine.php
contactthanks.php
form.html
form-style.css
images/yourlogo.whatever
Now you need to modify the filtered.php
After the close of the 'WebTableClose' function, and before the 'WebFooter'
function you need to add an additional 'WebTableOpen, and an additonal
'WebTableClose' plus a link for the form. I should look like this:
Code:

WebTableOpen("Request an Exception", "600");
echo "
<tr>
<td class='mytablesubheader' nowrap width='200'>Request an Exception here:</td>
<td><a href='form.html'>click here to request an exception</a></td>
</tr>
";
WebTableClose("600");



Updated file 2010-06-25
File Attachment:
File Name: filtered_form-20100625.gz
File Size: 3369
Randy Black
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/06/25 12:34 By wasmum.
The administrator has disabled public write access.
Employed by a non-profit, working to secure our remote locations with ClearOS.

This is my personal account for browsing and listing on the forum.
 
Go to topPage: 1
  get the latest posts directly to your desktop