Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple contact form question
#1
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
Reply
#2
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 ;-)
Reply
#3
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:

Code:
(% contact %)

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
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#4
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:

Code:
(% contact %)

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
Reply




Users browsing this thread: 1 Guest(s)