The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making a custom p01-contact form
#1
Hi,
I posted over in the plugins section but have not had any response so I thought I'd try here - I'll delete that post if I get a solution here.

I'm trying to add a custom contact form to one of my pages (not the theme). I was creating a component and then trying to add the component to the page but it seems I cannot add the PHP call to include the component.

What is the best way to create a custom contact form to include in only one page and has anyone an example? I don't want to add it to the template and I'd like to avoid using EXEC-PHP if possible.

Sample fields that I intended to use via a component are:

(% contact : blah@example.com,
subject => Feedback,
name,
email,
radio "OK to publish your comments on our website?" = "Yes" | "No" selected,
radio "OK to associate your name with comments on our website?" = "Yes" | "No" selected,
select = "One" selected | "Two" | "Three" | "Four" | "Five" ,
message = Any Further Comments?,
captcha,
askcopy %)

Any help/guidance much appreciated.

Ronan
Reply


Messages In This Thread
Making a custom p01-contact form - by ronanmagee - 2012-08-26, 22:05:27
RE: Making a custom p01-contact form - by phpman - 2013-10-13, 02:46:10
Making a custom p01-contact form - by yojoe - 2012-08-26, 22:46:20
Making a custom p01-contact form - by ronanmagee - 2012-08-27, 03:44:06
Making a custom p01-contact form - by yojoe - 2012-08-27, 06:20:33
Making a custom p01-contact form - by ronanmagee - 2012-09-04, 09:00:15
Making a custom p01-contact form - by ronanmagee - 2012-09-15, 09:59:25



Users browsing this thread: 3 Guest(s)