Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I am a NOOB, to oscommerce and .php. Please be gentle!!! I was trying to follow the online instructions. Where it says Open catalog/admin/categories.php

Find Around Line 541

echo tep_draw_textarea_field('products_description[' .$languages[$i]['id'] .']', 'soft', '70', '15',

(isset($products_description[$languages[$i]['id']])? stripslashes($products_description[$languages[$i]['id']]): tep_get_products_description($pInfo->products_id, $languages[$i]['id'])));

 

Mine is located on line 1081

 

 

Then is says to replace that line with this

***BOF FCKeditor v2.6.4***/

echo tep_draw_fckeditor('products_description[' .$languages[$i]['id'] .']', '600', '420',

(isset($products_description[$languages[$i]['id']])

? stripslashes($products_description[$languages[$i]['id']])

: tep_get_products_description($pInfo->products_id, $languages[$i]['id'])));

/***EOF FCKeditor v2.6.4***/

 

Will I be able to replace the line on 1081?

 

Thanks for your help

Posted

John,

 

The line numbers are only for reference. You should search the code carefully and make edits accordingly. So, to answer your question, yes you can make the changes to your line 1081.

 

 

Chris

Posted

John,

 

The line numbers are only for reference. You should search the code carefully and make edits accordingly. So, to answer your question, yes you can make the changes to your line 1081.

 

 

Chris

 

Thanks Chris!!

 

Will the affect any of my products that I currently have listed? Also will I be able to use the FCKeditor on the already listed products?

Posted

Hi John,

 

It will not effect any current products and will allow you to edit/change and delete them as normal using the editor.

 

 

Chris

Posted

Hi John,

 

It will not effect any current products and will allow you to edit/change and delete them as normal using the editor.

 

 

Chris

 

 

Thanks DunWeb,

For some reason when I follow the intructions it just does not work. I replaced the lines in the config.php and html_output.php

 

3. Create a directory named: userfiles in the root of your website and give 777 Permission. Done

 

4. Insert the path to your /userfiles/ directory in:

admin/fckeditor/editor/filemanager/connectors/php/config.php

 

$Config['UserFilesPath'] = '/userfiles/' ; tried serveral paths

 

and a few lines down:

 

$Config['UserFilesAbsolutePath'] = '/YOUR/ABSOLUTE/PATH/OF/THE/USERFILES/DIRECTORY/' ; tried serveral paths

 

When I open oscommerce file manager this is my path "/home/tripod/public_html/osc/"

 

Both "catalog/admin/fckeditor/" and "catalog/userfiles/" were both uploaded to "home/tripod/public_html/osc/" keeping dir in place for the files

 

Thank you for your help

Tripod

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.

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...