I don't think HTMLArea can handle PHP code block . that might be the reason that code block changes when you reopen them in HTMLArea.
I can only suggest , using FCKeditor or TinyMCE . you can find both of them in free add on .
I don't think HTMLArea can handle PHP code block . that might be the reason that code block changes when you reopen them in HTMLArea.
I can only suggest , using FCKeditor or TinyMCE . you can find both of them in free add on .
Many thanks, tony_sar.
I'll find FCKeditor and TinyMCE, hoping that there's a readme.txt for explainig how to install.
Thanks again - Giovanni
there is installation info , and by far , they seems to be the easiest modules to install![]()
Well, I've installed the FCKeditor, and the problem is the same. Maybe that all the WYSIWYG editors are not good for the PHP tags.
So I've decided to work in this way:
- I can prepare the layout of the page with HTMLarea or FCKeditor (even if I prefer always to write the code by myself).
- Then I select the editor "Text only" to properly correct the code, and save.
I think this is the better thing to do.
Giovanni
open fckconfig.js in your fckeditor folder
around line 55 uncomment the like
FCKConfig.ProtectedSource.Add
just uncomment the one for php source protection ..
don't forget , you have to alway enter your php code in source view ..
after uncommenting .. FCKeditor will not damage your code block .![]()
Many thanks, tony_sar.
That's o.k.
Giovanni
But now arise another problem:
while in the extra pages the php code is translated, in the product description this don't happen!!
Some suggestion????
Thanks - Giovanni