I'm using the events-component together with the fckeditor. This causes problems, as when I want to add a new entry
events says there were no description of the activity. So I can't go on.
When I switch the editor in the mambo global configuration to another editor, all seems to work fine.
Suggestions?
Thomas Voigt
PS: I'm using events 1.2 with fckeditor 2.0-RC2.
events says there were no description of the activity. So I can't go on.
When I switch the editor in the mambo global configuration to another editor, all seems to work fine.
Suggestions?
Thomas Voigt
PS: I'm using events 1.2 with fckeditor 2.0-RC2.
RE: Problem with events component
There is one line to change in both files:
/administrator/components/com_events/admin.events.html.php
/components/com_events/events.html.php
Just block or delete these two lines:
if (form.title.value == "") {
alert ( "<?php echo _E_WARNTITLE; ?>" );
// } else if (form.content.value == "") {
// alert ( "<?php echo _CAL_LANG_WARNACTIVITY; ?>" );
} else if (form.catid.value == "0"){
alert( "<?php echo _E_WARNCAT; ?>" );
} else if (sw == "0"){
alert( "<?php echo _CAL_LANG_E_WARNWEEKS; ?>" );
} else if (sd == "0"){
alert( "<?php echo _CAL_LANG_E_WARNDAYS; ?>" );
} else {
//alert('about to submit the form');
document.ev_adminForm.submit();
}
As this cancels the warning for no description for your event you have to be sure to have written something yourself.
Thomas