GetSimple Support Forum
Exec-PHP disables p01-contact? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: Exec-PHP disables p01-contact? (/showthread.php?tid=3662)



Exec-PHP disables p01-contact? - Belletage - 2012-10-06

hi,
(me again, sorry)

I need Exec-PHP (http://get-simple.info/extend/plugin/exec-php/17/) for the Guestbook (http://get-simple.info/extend/a/cumbe), but I recognize, that my contact form p01-contact (http://get-simple.info/extend/plugin/p01-contact/35/) is gone and redused to the string (% contact : name, email!, subject, message! %), after activating Exec-PHP.
[GS3.1.2, Exec-PHP1.1, p01-contact0.9.1]

regards,
Hope


Exec-PHP disables p01-contact? - mvlcek - 2012-10-07

Belletage Wrote:hi,
(me again, sorry)

I need Exec-PHP (http://get-simple.info/extend/plugin/exec-php/17/) for the Guestbook (http://get-simple.info/extend/a/cumbe), but I recognize, that my contact form p01-contact (http://get-simple.info/extend/plugin/p01-contact/35/) is gone and redused to the string (% contact : name, email!, subject, message! %), after activating Exec-PHP.
[GS3.1.2, Exec-PHP1.1, p01-contact0.9.1]

regards,
Hope

Exec-PHP has some issues, use DynPages instead.


Exec-PHP disables p01-contact? - Belletage - 2012-10-08

thank you, mvlcek
For Exec-PHP the code was
Code:
<!--?php sv_book('belle', 3, 'D', 'Y', 'Y'); ?-->
should I place for dynpages the php-code like that?
Code:
<!--{% guestbook sv_book('belle', 3, 'D', 'Y', 'Y'); %}-->
<!--{% dynpages <?php sv_book('belle', 3, 'D', 'Y', 'Y'); ?> %}-->
<!--{% dynpages sv_book('belle', 3, 'D', 'Y', 'Y'); %}-->
does dynpages recognize php like that? You have some examples?
best, Bell.


Exec-PHP disables p01-contact? - mvlcek - 2012-10-08

Belletage Wrote:thank you, mvlcek
For Exec-PHP the code was
Code:
<!--?php sv_book('belle', 3, 'D', 'Y', 'Y'); ?-->
should I place for dynpages the php-code like that?
Code:
<!--{% guestbook sv_book('belle', 3, 'D', 'Y', 'Y'); %}-->
<!--{% dynpages <?php sv_book('belle', 3, 'D', 'Y', 'Y'); ?> %}-->
<!--{% dynpages sv_book('belle', 3, 'D', 'Y', 'Y'); %}-->
does dynpages recognize php like that? You have some examples?
best, Bell.

You have to create a component e.g. svbook (Admin Themes/Components) with the code, i.e. in your case the following content:
Code:
<?php sv_book('belle', 3, 'D', 'Y', 'Y'); ?>
and add {% svbook %} to your page.


Exec-PHP disables p01-contact? - Belletage - 2012-10-08

thank you,
it works well! :-)
by, B.