I'm trying to get Wymeditor implemented in Joomla. So far, I've made it appear correctly, but when I try to submit a new article an error comes up saying "Article must have some text". Any ideas?
Here's what I've done so far to get WYMeditor installed:
1. Set my editor (in Joomla admin) to No Editor (which will bring up a simple textarea with ID #text).
2. Download WYMeditor from http://www.wymeditor.org/download/
3. Copy wymeditor/ directory into httpdocs/wymeditor
4. Followed instructions here for Minimum Page Integration: http://trac.wymeditor.org/trac/wiki/0.5/Integration
I.e. I've added the following to /templates/mytemplate/index.php (the php file that displays all pages)
- Code: Select all
<script type="text/javascript" src="jquery/jquery.js"></script>
<script type="text/javascript" src="wymeditor/jquery.wymeditor.pack.js"></script>
<script type="text/javascript">
jQuery(function() {
jQuery("#text").wymeditor();
});
</script>
So what do I need to do now to get the input text recognised? Or am I going about this all wrong?
Thanks,
thugsb