I would like to add styles but not using the
FCKConfig.StylesXmlPath = '../fckstyles.xml' ;
way of doing it.
That is I not want the styles to be fetched from a file.
What I want is to get the style values from a database and create the styles dynamically using PHP and javascript.
Is it possible to make this styles visible and working in the Style dropdown using javascript code generated in the page that the FCKeditor is in?
FCKConfig.StylesXmlPath = '../fckstyles.xml' ;
way of doing it.
That is I not want the styles to be fetched from a file.
What I want is to get the style values from a database and create the styles dynamically using PHP and javascript.
Is it possible to make this styles visible and working in the Style dropdown using javascript code generated in the page that the FCKeditor is in?
Anybody with an answer to this??
Just a request for an answer
RE: Is there another wayTo handle styles drpd
Create a PHP fckstyles.php which can query the database and then output the results as text/xml using
header("Content-Type: text/xml;charset=utf-8");
Hope this helps.
RE: Is there another wayTo handle styles drpd
Thanks for answer
Sounds doable....