Hi.
order-info.tpl
<script src="../../../../ckeditor/ckeditor.js"></script>
<textarea name="comment" id="input-comment" rows="10" cols="80"></textarea>
<script>
// Replace the <textarea id="editor1"> with a CKEditor
// instance, using default configuration.
CKEDITOR.replace( 'input-comment' );
</script>
CKEDITOR
My Problem
In catalog/model/checkout/order.php file,
find all instances of:
replace each with:
find all instances of:
Code: Select all
comment = '" . $this->db->escape($data['comment']) . "'
Code: Select all
`comment` = '" . $this->db->escape($data['comment']) . "'
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Followed is a link that displays how to set replacements for HTML codes with the CKEditor: https://stackoverflow.com/questions/333 ... in-p-block
If you want to turn the:
off: https://stackoverflow.com/questions/197 ... editor-3-0
If you want to turn the:
Code: Select all
<p>
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 3 guests