Witam,
Jeśli ktoś ma problem z włączeniem FCKeditor w PA->Katalog->Zarządzanie kategoriami to mogę pomóc
Nie chce pisać sporego tekstu na darmo
pozdro
app/design/adminhtml/default/default/template/fontis/wysiwyg/wysiwyg.phtml
<?php $toolbarSet = Mage::getStoreConfig('admin/fontis_wysiwyg/fckeditor_toolbarset'); ?>
<!--
</script>
-->
vi app/design/adminhtml/default/default/template/page/head.phtml
var FORM_KEY = '<?php echo $this->getFormKey() ?>';
</script>
<script type="text/javascript" src="http://adres_sklepu/js/fontis/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
function loadFCK()
{
var editable_areas = 'description,short_description,page_content,block_content,_generaldescription,text';
editable_areas.split(',').each(function(dom_id) {
if($(dom_id)) {
var loopCheck = 0;
while($(dom_id).hasClassName('required-entry') && loopCheck < 10) {
$(dom_id).removeClassName('required-entry');
loopCheck += 1;
}
var fck = new FCKeditor(dom_id);
fck.Config["CustomConfigurationsPath"] = "http://adres_sklepu/js/fontis/fckeditor/custom_
config.js"
;
fck.Config["SkinPath"] = "skins/default/" ;
fck.BasePath = "http://adres_sklepu/js/fontis/fckeditor/";
fck.Width = '650';
fck.Height = '450';
/*fck.Config["ProcessHTMLEntities"] = false;*/
fck.ToolbarSet = 'Default';
fck.ReplaceTextarea();
}
});
}
</script>
<script type="text/javascript">
window.onload = function() {
loadFCK();
}
</script>
var editable_areas = 'description,short_description,page_content,block_content,_generaldescription,text';
<!-- -->
vi app/design/adminhtml/default/default/template/catalog/category/edit/form.phtml
</script>
loadFCK();