TwilightRealm Posted May 31, 2009 Share Posted May 31, 2009 Searched but I didn't find the answer, so I'm posting the question. I'm using the Page Editor module (22 Jan 2005), with a few fixes (like sort order and the sql comma/semi-colen swap), but I also want to install a FCK-Editor. Does anyone already have a Page Editor+Fck Editor working, that they might let me know which of the FCK modules they used, and as to how to combine the two modules? Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted May 31, 2009 Share Posted May 31, 2009 (edited) Searched but I didn't find the answer, so I'm posting the question. I'm using the Page Editor module (22 Jan 2005), with a few fixes (like sort order and the sql comma/semi-colen swap), but I also want to install a FCK-Editor. Does anyone already have a Page Editor+Fck Editor working, that they might let me know which of the FCK modules they used, and as to how to combine the two modules? Hello, I am not familiar with Page Editor. But I think you can Install this FCK-Editor Then 1.) in catalog/pages.php Find (arround line 9): define('TEXT_INFORMATION', nl2br($page['pages_body'])); Replace with: define('TEXT_INFORMATION', $page['pages_body']); 2.) in catalog/admin/pages.php Find (arround line 224): <td class="main"><?php echo tep_draw_textarea_field('pages_body[' . $languages[$i]['id'] . ']', 'soft', '60', '15', (isset($pages_body[$languages[$i]['id']]) ? $pages_body[$languages[$i]['id']] : tep_get_pages_body($pInfo->pages_id, $languages[$i]['id']))); ?></td> and replace with: <td class="main"><?php echo tep_draw_fckeditor('pages_body[' . $languages[$i]['id'] . ']', '580', '400', (isset($pages_body[$languages[$i]['id']]) ? $pages_body[$languages[$i]['id']] : tep_get_pages_body($pInfo->pages_id, $languages[$i]['id']))); ?></td> Find (arround line 291) <?php echo tep_image(DIR_WS_CATALOG_IMAGES . $pages_image_name, $pInfo->pages_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="right" hspace="5" vspace="5"') . nl2br($pInfo->pages_body); ?> Replace with: <?php echo tep_image(DIR_WS_CATALOG_IMAGES . $pages_image_name, $pInfo->pages_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="right" hspace="5" vspace="5"') . $pInfo->pages_body; ?> I have added instructions by e-peoples (31 Dec 2008) to my own instructions here Stanislav Edited May 31, 2009 by Pektsekye Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.