Posts: 97
Threads: 38
Joined: Feb 2012
2012-10-06, 23:42:28
(This post was last modified: 2012-10-06, 23:57:14 by siradje.)
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
Posts: 2,094
Threads: 54
Joined: Jan 2011
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.
Posts: 97
Threads: 38
Joined: Feb 2012
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.
Posts: 2,094
Threads: 54
Joined: Jan 2011
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.
Posts: 97
Threads: 38
Joined: Feb 2012
thank you,
it works well! :-)
by, B.
|