arcadia128 got a reaction from
kinkinc in CKEditor osC 2.3.1
February 5, 2011
no response?? :(
Other questions:
I add a filemanager to ckeditor 3.5 but not found my folder image.
This is the test
Link
The code is this:
require('../../../../../admin/includes/configure.php');
$config['doc_root'] = (DIR_FS_CATALOG . DIR_WS_IMAGES); // No end slash
Is correct the first line "require" if my url configure is this ??
http://laertes.es/secret/admin/includes/configure.php
2 question:
In the urlroot i placed the same code of configure.php, is correct,no??
var fileRoot = '/';
var urlRoot = '/var/www/vhosts/laertes.es/httpdocs/secret/images/'; // full url
this is the instruccions installation:
find:
var fileRoot
replace:
var fileRoot = '/';
and bellow this add and change to your settings
var urlRoot = 'http://localhost/dev/images'; // full url
And last quieston 3:
where I place the following code in osc 2.3.1???
admin\newsletter.php
find:
</head>
above add:
echo '<script type="text/javascript" src="./ckeditor/ckeditor.js"></script>';
find:
<td class="main"><?php echo tep_draw_textarea_field('content', '70', '20', $nInfo->content); ?></td>
replace:
<td class="main"><?php echo tep_draw_textarea_ckeditor ('content', '70', '20', $nInfo->content); ?></td>
admin\categories.php
find:
</head>
above add:
<?php
if ($action == 'new_product' || $information_action == 'Added' || $information_action == 'Edit' ) {
// No need to put JS on all pages. If need more action to the string above.
echo '<script type="text/javascript" src="./ckeditor/ckeditor.js"></script>';
}
?>