using php within wysi

Issues related to previewing and publishing your web site.
Post Reply
harvillo
 
 
Posts: 40
Joined: Thu Apr 18, 2019 8:26 pm

using php within wysi

Post 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>
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: using php within wysi

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