fix the news detail form -> getDirectoryClass is not available anymore