Posts: 34
Threads: 13
Joined: Nov 2010
2011-08-05, 02:51:14
(This post was last modified: 2011-08-05, 03:20:12 by evilmind.)
Hi. I've enabled the contact form but can't figure out how to include it on a page.
I've put this code in my page source view:
Quote:<?php
echo $p01contact->parse('(% contact %)');
?>
That gives me nothing but a blank page.
Then I tried
Quote:<?php
$p01contact->parse('(% contact %)');
?>
I still get the blank page. These two attempts also give a blank page:
<?php (% contact %) ?>
and then just plain
(% contact %)
Anyone have a clue how to do this? The documentation, while quite thorough, doesn't cover this basic point.
Don
Posts: 524
Threads: 48
Joined: Mar 2011
Hi Don,
I haven't used that plugin before, but found some
related documentation on how to embed it in a page. That should help you out. Good luck!
I guess Connie is going to be able to help with in-depth tipps, just wait a little ;-)
Posts: 2,928
Threads: 195
Joined: Feb 2011
Don,
sorry, you are wrong, the use of the plugin is documentated:
Code:
http://nliautaud.fr/wiki/travaux/p01-contact#syntax
I did include this code into a webpage, not necessary in source view, and got the contact form:
and it works at our site:
http://www.get-simple.de/info/kontakt/ or at
http://www.landgasthof-neueheimat-hohendorf.de/kontakt/
the php is only necessary if you do use it outside of GetSimple, not as a Getsimple plugin
Posts: 34
Threads: 13
Joined: Nov 2010
2011-08-05, 05:34:31
(This post was last modified: 2011-08-05, 22:22:23 by evilmind.)
Connie Wrote:Don,
sorry, you are wrong, the use of the plugin is documentated:
Code:
http://nliautaud.fr/wiki/travaux/p01-contact#syntax
I did include this code into a webpage, not necessary in source view, and got the contact form:
and it works at our site: http://www.get-simple.de/info/kontakt/ or at http://www.landgasthof-neueheimat-hohendorf.de/kontakt/
the php is only necessary if you do use it outside of GetSimple, not as a Getsimple plugin
Thanks, Connie. This proves it's probably me, not the code.
But when I do as you suggest you can see from the attached graphic that it has absolutely no effect. Gulp!
Don