by kulachi » Sat Dec 22, 2012 9:16 pm
I am also facing this problem.
I think mostly conferences use Submission type word limit. Submissions can be whole article or abstract of article with less word length.
Can we change track based limit to submission type limit only? I think changes can be made here. ../classes/author/form/submit/AuthorSubmitStep3Form.inc.php in line 40
$abstractWordCount = $track->getAbstractWordCount();
if (isset($abstractWordCount) && $abstractWordCount > 0) {
$this->addCheck(new FormValidatorCustom($this, 'abstract', 'required', 'author.submit.form.wordCountAlert', create_function('$abstract, $wordCount', 'foreach ($abstract as $localizedAbstract) {return count(explode(" ",strip_tags($localizedAbstract))) < $wordCount; }'), array($abstractWordCount)));
}
}
}
i tried to chnage like this but did,t work for me. i do,t know what to do? any suggestions.
$abstractWordCount = $paperType->getabstractLength();
if (isset($abstractWordCount) && $abstractWordCount > 0) {
$this->addCheck(new FormValidatorCustom($this, 'abstract', 'required', 'author.submit.form.wordCountAlert', create_function('$abstract, $wordCount', 'foreach ($abstract as $localizedAbstract) {return count(explode(" ",strip_tags($localizedAbstract))) < $wordCount; }'), array($abstractWordCount)));
}
}
}