Ckeditor in reviews not showing html in frontend Opencart !
I did it from /admin/view/template/catalog/review_form.tpl
IN
<td><textarea name="text" cols="60" rows="8"><?php echo $text; ?></textarea>
Added : id="description1"
<td><textarea name="text" cols="60" rows="8" id="description1"><?php echo $text; ?></textarea>
and before <?php echo $footer; ?>
I Added
<script type="text/javascript" src="view/javascript/ckeditor/ckeditor.js"></script>
<script type="text/javascript"><!--
CKEDITOR.replace('description1', {
filebrowserBrowseUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>',
filebrowserImageBrowseUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>',
filebrowserFlashBrowseUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>',
filebrowserUploadUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>',
filebrowserImageUploadUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>',
filebrowserFlashUploadUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>'
});
//--></script>
But the problem is in front end is showing the pure html code
insted of a link or image as google
is showing <a href="http://www.google.com">google</a>
Any help?
Thanks
Edited on 25/10/13
I did it
<td><textarea name="text" cols="60" rows="8" id="description1"><?=htmlentities($text)?></textarea>
But without success