Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Page Editor and FCK Editor


will32

Recommended Posts

Hi,

 

I have just installed page editor and also FCKeditor for Product Descriptions.

 

http://www.oscommerce.com/community/contri...l/search,editor.

http://www.oscommerce.com/community/contri...l/search,editor

 

I would like to know how can i integrate the Fck editor with the page editor. Ok i am really basci to php.. i looked at the install codes for fck editor and i went to catalog\admin\pages.php in page editor to the

line

<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 replaced it with

 

<td class="main"><?php echo tep_draw_fckeditor('pages_body[' . $languages[$i]['id'] . ']', 'soft','600', '300', (isset($pages_body[$languages[$i]['id']]) ? $pages_body[$languages[$i]['id']] : tep_get_pages_body($pInfo->pages_id, $languages[$i]['id']))); ?></td>

 

But the problem is the width of the fck page editor is cut half way on the top so i cannot access any tools from the fck editor. i tried to change the szes to 600 300 and it still is the same the only changed that occured was the height of the input txt area changed,

 

Please help.

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...