OPENCART – Error en el filemanager
Hay un error bastante grande en el admin del opencart.
Cuando vas a catalog – information e intentas subir una imagen desde el
ckeditor si te deja hacerlo el ingles, sin embargo para el español no.
La solución es esta:
archivo: admin/controller/common/filemanager
cambiar estas lineas:
if (isset($this->request->get['CKEditorFuncNum'])) {
$this->data['fckeditor'] = TRUE;
} else {
$this->data['fckeditor'] = FALSE;
}
por estas:
if (isset($this->request->get['CKEditorFuncNum'])) {
$this->data['fckeditor_function'] = $this->request->get['CKEditorFuncNum'] ;
$this->data['fckeditor'] = TRUE;
} else {
$this->data['fckeditor_function'] = 0;
$this->data['fckeditor'] = FALSE;
}
ir al archive admin/view/common/filemager.tpl:
y cambiar estas lineas:
window.opener.CKEDITOR.tools.callFunction(1, ‘<?php echo $directory; ?>’ + $(this).attr(’file’));
por esta:
window.opener.CKEDITOR.tools.callFunction(<?php echo $fckeditor_function; ?>, ‘<?php echo $directory; ?>’ + $(this).attr(’file’));














One response to "OPENCART – Error en el filemanager"
Packs de idiomas español para Opencart gratis. Por si os sirve de algo:
http://opencarter.com/free-spanish-translation-for-opencart-1-4-7/5
http://opencarter.com/free-spanish-translation-for-opencart-1-4-8/8
Saludos