J2Store4 / j2store4

J2Store 4 - Open Source eCommerce extension for Joomla
https://www.j2store.org
GNU General Public License v3.0
15 stars 7 forks source link

Editing an a-mailtemplate results in an error #116

Closed Kris3D closed 4 days ago

Kris3D commented 5 days ago

image image Editing an a-mailtemplate results in an error

mgopin3 commented 5 days ago

@Kris3D I understand your concern, and I assure you that we are actively working to ensure compatibility between our J2Store 4.x.x component and Joomla 5. We are committed to resolving this issue in an upcoming release of J2Store. In the meantime, to address this issue, you can make changes to your /administrator/components/com_j2store/helpers/j2html.php file.

Please locate line number 880 in the j2html.php file and replace the existing code with the following: $options = isset($options['buttons']) && is_array($options['buttons']) ? $options['buttons'] : []; $editor = self::getEditor($editor_type); $html = $editor->display($name, $value, $width, $height, $cols, $rows, false, $id, null, null, $options);

By implementing this change, the issue should be resolved. For further guidance, you can refer to the video provided [video]

Kris3D commented 4 days ago

Yes, Thank you. This worked great.