I am trying to do an integration project using FCKeditor. The gist of it is, my boss wants to be able to edit various sub-portions of a PHP Smarty web page template in FCKeditor (ie: a "Current News" section, a "Coming Soon" section - each individual piece to be edited standalone in FCKeditor), and then a PHP script will put all those pieces together at a later point. (in case you don't know what they are - PHP 'Smarty' templates are mostly HTML along with some proprietary language elements)
The problem I am having, is that FCKeditor apparently 'fixes' things which in this case, is causing total breakage of the concept. For instance, my page header gets broken because all of the HTML header tags get removed. Another good example, is that at the start of the page, there are some tables that layout the rest of the page that start there. When I edit that piece of the page, FCKeditor automagically adds closing table tags, which of course, monkeys up the way the rest of the page lays out once all the pieces are assembled.
So, is there a way to tell FCKeditor to not monkey with the HTML, and just edit it 'as-is', even if it's not valid HTML or contains errors? Or am I in for the (not really) fun task of trying to rewrite the HTML of the pages in question to work with FCKeditor's idea of 'fixed' html?
Thanks,
The problem I am having, is that FCKeditor apparently 'fixes' things which in this case, is causing total breakage of the concept. For instance, my page header gets broken because all of the HTML header tags get removed. Another good example, is that at the start of the page, there are some tables that layout the rest of the page that start there. When I edit that piece of the page, FCKeditor automagically adds closing table tags, which of course, monkeys up the way the rest of the page lays out once all the pieces are assembled.
So, is there a way to tell FCKeditor to not monkey with the HTML, and just edit it 'as-is', even if it's not valid HTML or contains errors? Or am I in for the (not really) fun task of trying to rewrite the HTML of the pages in question to work with FCKeditor's idea of 'fixed' html?
Thanks,

Re: Can FCKeditor to edit the HTML 'as-is' and not try to 'fix'
Re: Can FCKeditor to edit the HTML 'as-is' and not try to 'fix'
How about if I just supplied plain old HTML, but the portion I supplied is going to wind up in the file header.html, and includes table tags that start in this file, but aren't closed until the contents of file footer.html - FCKeditor is going to automagically close the table tags in my header content which will break the page in question.
Is this the intended behavior?
Re: Can FCKeditor to edit the HTML 'as-is' and not try to 'fix'
Re: Can FCKeditor to edit the HTML 'as-is' and not try to 'fix'
I can't imagine I'm the only one to ever have issues when trying to edit elements of a page instead of the whole page at once. ??
Thanks,
Re: Can FCKeditor to edit the HTML 'as-is' and not try to 'fix'
Re: Can FCKeditor to edit the HTML 'as-is' and not try to 'fix'
Basically, insert absurd comments in the HTML fragment to indicate the portion of the template you want to keep. Then, when the edited file is saved, strip off the unneeded HTML.
Something along the lines of:
When FCKeditor adds the unwanted, but necessary for rendering HTML, you can strip it back out!
Ken