Page 1 of 1

Button problem

PostPosted: April 27th, 2011, 3:40 am
by formula
Hi,

when I use the long option for a button to insert into my post I have these:
<input type="hidden" name="on0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>" />
<input type="hidden" name="os0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>" />

the problem is that the page doesn't render the php although I am using execphp plugin

any idea how to solve this?

Re: Button problem

PostPosted: April 27th, 2011, 4:08 pm
by Cristián Lávaque
Are you using the HTML editor? It won't work with the Visual one.

Re: Button problem

PostPosted: April 28th, 2011, 12:01 am
by formula
yes I do

Re: Button problem

PostPosted: April 28th, 2011, 12:49 am
by Cristián Lávaque
OK. Could you post the HTML that results from that code?

Just curious, why do you prefer to not use the shortcode for the button?