I include php/js code into html code.
I would like that this code will be interpreted correctly in "edit" area with FCK.
Could anyone see and tell me what changes I need to do ?
Thanks in advance!
Max
I would like that this code will be interpreted correctly in "edit" area with FCK.
Could anyone see and tell me what changes I need to do ?
Thanks in advance!
Max
Re: Interprete code in edit mode
If I understand your question correctly (granted I may not
) theres lots of posts on this matter on the forum already so delve around for a better answer than this. Basically it boils down to this.
1. javascript entities are sort of hidden in the edit area (by the ProtectedSource feature I believe). I think this is because of some problem with IE. Maybe they are active in preview mode though - not sure.
2. The desired behavior of your php code can not be seen in the editor because that is server side code - maybe thats condescending & I don't understand you properly but If you are writing php code in FCKEditor it won't activate and produce results until it has been posted back to the server. Posting back on the fly is possible in FCKEditor - its something I need to try out but haven't got round to yet.