How can I setup FCK to show generate only what's between the <body> tags?
eg.
Now it generates:
<html>
<head>
</head>
<body>
<p>text</p>
</body>
<html>
What I want is only:
<p>text</p>
eg.
Now it generates:
<html>
<head>
</head>
<body>
<p>text</p>
</body>
<html>
What I want is only:
<p>text</p>
Re: Generated code
I believe in the config file, you can turn off FullPage (set it to false) and the editor will edit HTML fragments. That may be what you're looking for.
Re: Generated code
In sampleposteddata.php I echo the result comming from the FCK page after submit.
I want to store the text in a database but I do not need all the code before and after body tags.
I've tried your solution but still generates everything.
Currently I solved it using substr_replace in php.
Guy
Re: Generated code
Glad you've got it doing what you want.