using PHP code in FCKEditor

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
vdn

using PHP code in FCKEditor

Post by vdn »

Hello

i made a PHP script that calculates something.
I wanted it on my webpage so i clicked add new content,

I made the php script with notepad so i copy/paste it into FCKEditor

but apparently FCKeditor changes

Is there a simple solution or am i trying it the wrong way?

Thanks in advance
Last edited by vdn on Thu Feb 01, 2007 10:59 am, edited 1 time in total.
cyberman

Re: using PHP code in FCKEditor

Post by cyberman »

vdn wrote: Is there a simple solution
A very simple solution  ;D.

Put the source of your script inside a userdefined tag (e.g. named calculate and without ). Now you can call this snippet via {calculate} in FCK ...
vdn

Re: using PHP code in FCKEditor

Post by vdn »

hooray !

for people reading this topic:
this could be handy
Locked

Return to “Layout and Design (CSS & HTML)”