Hey anyone,
I am posting this topic because I require specific help getting the ckeditor to work with the CMS-IN-A-AFTERNOON tutorial, and I was wondering if anyone that actually got it to work would be so kind of to help me with it.
While I also would like help with pagination and comments etc, this really takes precidence, so onto the problem(s).
Current setup:
header.php
Edit:
Okay, just had the akward moment realizing a big typo 5 seconds after posting this, changed it to:
editArticle.php:
-- Edited out issue 1 --
Currently running this on Wampserver, don't think that should cause the problem though.
I hope I explained my problem in sufficient detail, any thanks in advance to anyone that could help me out with this.
Edit 1: Alright, changed the code in the header.php file, now the ckeditor DOES pop up, but it's too big for the page again, any advice on how to fix this?
Edit 2:
Alright, issue number two: the big ass ckeditor actually stops the page from saving/save button doesn't do anything. Anyone have any advice on this?
[Edited by MarcusS on 09-May-12 03:09]
I am posting this topic because I require specific help getting the ckeditor to work with the CMS-IN-A-AFTERNOON tutorial, and I was wondering if anyone that actually got it to work would be so kind of to help me with it.
While I also would like help with pagination and comments etc, this really takes precidence, so onto the problem(s).
Current setup:
header.php
<script type="text/javascript" src="ckeditor.js"></script>
Edit:
Okay, just had the akward moment realizing a big typo 5 seconds after posting this, changed it to:
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
editArticle.php:
<li>
<label for="content">Article Content</label>
<textarea name="content" id="content" placeholder="The HTML content of the article" required maxlength="100000" style="height: 30em;"><?php echo htmlspecialchars( $results['article']->content )?></textarea>
</li>
<script type="text/javascript">
window.onload = function()
{
CKEDITOR.replace('content');
};
</script>
<li>
-- Edited out issue 1 --
Currently running this on Wampserver, don't think that should cause the problem though.
I hope I explained my problem in sufficient detail, any thanks in advance to anyone that could help me out with this.
Edit 1: Alright, changed the code in the header.php file, now the ckeditor DOES pop up, but it's too big for the page again, any advice on how to fix this?
Edit 2:
Alright, issue number two: the big ass ckeditor actually stops the page from saving/save button doesn't do anything. Anyone have any advice on this?
[Edited by MarcusS on 09-May-12 03:09]

