Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ImForms
#14
Hello,

the plugin page covers it very well, you just have to read carefully, especially the section "Usage": http://get-simple.info/extend/plugin/imforms/1121/

It says there that you can use "one" of the two possible methods for rendering the forms: Automatic output "or" Manually output.
If you have nothing special, then I would choose the Automatic method. How that works is also written there -  if you still have problems, you can report them here.

(2018-08-23, 06:17:54)JAKE Wrote: If I follow the plugin page's direction it will crash on imforms not defined.

Then the installation is wrong or you forgot something.

(2018-08-23, 06:17:54)JAKE Wrote: EDIT: Answering to myself and stating that the documentation is lacking this whole Factory thing. 

PHP Code:
<?php $imforms = new ImForms\Factory(); ?>
<?php $imforms_processor 
$imforms->getProcessor(); ?>

<?php $imforms_controller = new ImForms\Controller($imforms_processor); ?>
<?php $imforms
->setController($imforms_controller); ?>
<?php $form 
$imforms_processor->getFormByName('contact'); ?>

Code that you posted there you don't need - everything you need is in the documentation.
Reply


Messages In This Thread
ImForms - by Bigin - 2017-11-02, 00:06:56
RE: ImForms - by Rob1n - 2017-11-03, 18:30:24
RE: ImForms - by Bigin - 2017-11-03, 22:44:33
RE: ImForms - by Rob1n - 2017-11-06, 19:11:37
RE: ImForms - by webstudiodrachten - 2017-11-20, 23:33:32
RE: ImForms - by Bigin - 2017-11-21, 00:19:34
RE: ImForms - by macoffers - 2018-02-22, 06:00:22
RE: ImForms - by Bigin - 2018-02-22, 06:33:00
RE: ImForms - by jozue - 2018-07-12, 00:38:29
RE: ImForms - by Bigin - 2018-07-12, 01:46:39
RE: ImForms - by jozue - 2018-07-12, 02:18:45
RE: ImForms - by Bigin - 2018-07-12, 02:31:02
RE: ImForms - by JAKE - 2018-08-23, 06:17:54
RE: ImForms - by Bigin - 2018-08-23, 14:41:28
RE: ImForms - by JAKE - 2018-09-19, 19:29:00
RE: ImForms - by Bigin - 2018-09-19, 21:54:41
RE: ImForms - by SalamandersPL - 2018-09-23, 04:58:41
RE: ImForms - by Bigin - 2018-09-23, 07:11:42
RE: ImForms - by Bigin - 2018-10-04, 03:36:52
RE: ImForms - by harley-peter - 2018-10-04, 22:25:35
RE: ImForms - by harley-peter - 2018-10-09, 21:20:27
RE: ImForms - by Bigin - 2018-10-09, 23:12:13
RE: ImForms - by harley-peter - 2018-10-09, 23:41:52
RE: ImForms - by Bigin - 2018-10-10, 00:16:06
RE: ImForms - by harley-peter - 2018-10-10, 01:33:59
RE: ImForms - by Bigin - 2018-10-10, 02:21:26
RE: ImForms - by wdburgdorf - 2018-10-17, 23:16:14
RE: ImForms - by wdburgdorf - 2018-10-17, 23:17:45
RE: ImForms - by wdburgdorf - 2018-10-17, 23:43:15
RE: ImForms - by wdburgdorf - 2018-10-18, 00:13:55
RE: ImForms - by Bigin - 2018-10-18, 03:47:51
RE: ImForms - by Bigin - 2018-10-18, 20:16:38
RE: ImForms - by harley-peter - 2018-10-28, 00:17:04
RE: ImForms - by Bigin - 2018-10-28, 16:40:17
RE: ImForms - by Bigin - 2018-10-28, 18:24:44
RE: ImForms - by harley-peter - 2018-10-29, 01:56:32
RE: ImForms - by harley-peter - 2018-10-29, 05:03:36
RE: ImForms - by Bigin - 2018-10-29, 15:55:34
RE: ImForms - by harley-peter - 2018-10-30, 01:29:07
RE: ImForms - by harley-peter - 2018-11-01, 03:12:59
RE: ImForms - by datiswous - 2018-11-01, 09:35:40
RE: ImForms - by harley-peter - 2018-11-09, 01:13:09
RE: ImForms - by flanders - 2019-02-05, 01:53:07
RE: ImForms - by Bigin - 2019-02-05, 03:03:05
RE: ImForms - by flanders - 2019-02-05, 03:24:54
RE: ImForms - by Bigin - 2019-02-05, 03:52:04
RE: ImForms - by flanders - 2019-02-05, 07:49:34
RE: ImForms - by wdburgdorf - 2019-02-10, 02:00:18
RE: ImForms - by Riianna - 2020-02-29, 01:36:29
RE: ImForms - by Bigin - 2020-02-29, 03:00:34
RE: ImForms - by Riianna - 2020-02-29, 03:38:36
RE: ImForms - by Bigin - 2020-02-29, 03:43:09
RE: ImForms - by wdburgdorf - 2023-05-04, 18:31:05
RE: ImForms - by Bigin - 2023-05-06, 15:40:55
RE: ImForms - by wdburgdorf - 2023-05-08, 17:16:49



Users browsing this thread: 1 Guest(s)