The site I am currently working on is created using PHP with a MySQL database. The site has been designed to work in one page calling information from the database based on parameters passed back to the page.
The content management piece calls the information from the database into the editor. In the underlying source code the content for whichever page we are trying to edit is visible. It has been called successfully from the database. However, we are only able to edit the content on one page within the site. Unfortunately, we have not seen a similar problem anywhere in the forums, bugs, or support sections.
Our code is as follows:
<form action="lib/u/contentsubmit_sql.php"
method="post" enctype="multipart/form-data"
name="contentedit" id="contentedit">
<input class="text" type="text" name="heading"
<!-- Editor Text Area -->
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'content' ) ;
oFCKeditor.Create() ;
</script>
<!-- End of Editor Text Area -->
<input class="submit" type="submit" name="submit"
value="submit" />
</form>
Has anyone come across this or similar problem before?
Any help or links to possible solutions would be
greatly appreciated.
Thanks for your assistance.
The content management piece calls the information from the database into the editor. In the underlying source code the content for whichever page we are trying to edit is visible. It has been called successfully from the database. However, we are only able to edit the content on one page within the site. Unfortunately, we have not seen a similar problem anywhere in the forums, bugs, or support sections.
Our code is as follows:
<form action="lib/u/contentsubmit_sql.php"
method="post" enctype="multipart/form-data"
name="contentedit" id="contentedit">
<input type="hidden" name="pageid" value="<?php
echo("$data->ID"); ?>"/>
<input class="text" type="text" name="heading"
value="<?php echo("$data->heading"); ?>" /><br />
<!-- Editor Text Area -->
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'content' ) ;
oFCKeditor.Value = '<?php echo ($data->content); ?>' ;
oFCKeditor.Create() ;
</script>
<!-- End of Editor Text Area -->
<input class="submit" type="submit" name="submit"
value="submit" />
</form>
Has anyone come across this or similar problem before?
Any help or links to possible solutions would be
greatly appreciated.
Thanks for your assistance.
RE: FCK Editor won't appear in my dynamic page...
Now I just have to find a way to configure the editor to accept more characters.
Thanks for your efforts.
RE: FCK Editor won't appear in my dynamic page...
Kristi
RE: FCK Editor won't appear in my dynamic pag
Here is a solution which we found for that particular problem. Place this code immediately above the textarea in your form.
problem is not the character limit
if you check your source perhaps its the same problem in your case, you have to strip out the linefeeds
RE: FCK Editor won't appear in my dynamic pag
Here is a solution which we found for that particular problem. Place this code immediately above the textarea in your form.
I have found another problem that I am currently trying to work through. Apostrophe's. If I type an apostrophe into the data I wish to upload to the database, it gets uploaded. However If I wish to edit that piece again the editor will not appear. If I paste an apostrophe, it works just fine.
Ross
RE: FCK Editor won't appear in my dynamic page...