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

ClearFoundation

Forums
ClearOS ClearFoundation and ClearCenter have moved to the new website ClearOS.com (https://clearos.com). We are making this change in order to improve search and exposure of ClearOS to the world. There are several improvements that are being made and some that are still on the table for development. The forums are now live on clearos.com and locked on this site until all the redirects are in place. If you have issues using the new site, feel free to ask on the #clearfoundation room in IRC chat on freenode.net or engage with a chat agent on the site if they are around. Our goal is to complete this step so that we can be properly ready for the types of communication that will be essential for the release of ClearOS 7!
Welcome, Guest
Access Denied Page Email Form Forum is locked
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: Access Denied Page Email Form
#13050
Access Denied Page Email Form 4 Years, 10 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 topic has been locked.
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, 10 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 topic has been locked.
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