Page 1 of 1

using php within wysi

Posted: Fri Mar 20, 2020 1:42 am
by harvillo
In previous versions I was able to enter a php code in a wysi field. Now when you publish it throws extra commas.

for an iframe target in wysi I entered: <?php print("$redirect");?>

The new version output
<iframe name="supps" id="InlineFrame1" src="<?php print(" $redirect");?="">" scrolling="no"></iframe>


Old version (which works):
<iframe name="supps" id="InlineFrame1" src="<?php print("$redirect");?>" scrolling="no"></iframe>

Re: using php within wysi

Posted: Fri Mar 20, 2020 7:32 am
by Pablo
It looks like you have enabled HTML formatting.
Please make sure all HTML formatting option are set to default in Tools->Options->HTML