← Back to Media Editor Metadata Support
Hello,
On newest octobercms 2.2, there is an error when you try to edit metadata of a media :
"Le modèle partiel "/plugins/snipi/memetadata/partials/editor/_update_metadata" est introuvable." on line 93 of /var/www/vhosts/dev02.publipresse.ovh/mall.dev02.publipresse.ovh/httpdocs/modules/system/traits/ViewMaker.php
To fix it, in MEMetadata.php, change this :
return $widget->makePartial(plugins_path().'/snipi/memetadata/partials/editor/update_metadata', ['data' => Input::all(), 'theme' => $this->theme]);
By this :
return $widget->makePartial(plugins_path().'/snipi/memetadata/partials/editor/update_metadata.htm', ['data' => Input::all(), 'theme' => $this->theme]);
Basically, you need to specify the file extension ".htm" to fix it.
Best regards,
Publipresse said:
Hello,
On newest octobercms 2.2, there is an error when you try to edit metadata of a media :
"Le modèle partiel "/plugins/snipi/memetadata/partials/editor/_update_metadata" est introuvable." on line 93 of /var/www/vhosts/dev02.publipresse.ovh/mall.dev02.publipresse.ovh/httpdocs/modules/system/traits/ViewMaker.php
To fix it, in MEMetadata.php, change this :
return $widget->makePartial(plugins_path().'/snipi/memetadata/partials/editor/update_metadata', ['data' => Input::all(), 'theme' => $this->theme]);
By this :
return $widget->makePartial(plugins_path().'/snipi/memetadata/partials/editor/update_metadata.htm', ['data' => Input::all(), 'theme' => $this->theme]);
Basically, you need to specify the file extension ".htm" to fix it.
Best regards,
fixed in version 1.0.11 for october 1.x used without .htm, on 2.x with .htm suffix
1-4 of 4