osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

All In One FCK Editor WYSIWYG Editor

This is a discussion on All In One FCK Editor WYSIWYG Editor within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; I have notices that many people have upload problems trying to include images etc. There is a simple fix to ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-15-2008, 01:00 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,719
Thanks: 139
Thanked 607 Times in 519 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post All In One FCK Editor WYSIWYG Editor

I have notices that many people have upload problems trying to include images etc. There is a simple fix to this. There are minor changes to two files:

fckeditoreditorfilemanagerconnectorsphpconfig.php

Ensure the file is changed as following:

Line 31:
$Config['Enabled'] = false ;

Line 34:
$Config['UserFilesPath'] = 'http://www.yourdomain.com/oscommerce/userfiles/' ;

the oscommerce/userfiles/ of course is depending on where you installed oscommerce

Line 40:
$Config['UserFilesAbsolutePath'] = '/yourdomain.com/public_html/webshop/userfiles/' ;

Just open your include/configure.php and copy the path from: DIR_FS_CATALOG and add /userfiles/ after it.

__________________________________

Second file:
fckeditoreditorfilemanagerconnectorsphpio.php

At around line 291 find:

var test = window.top.opener.document.domain ;

change this into:

var test = window.parent.OnUploadCompleted ;

Included the full version with the fix in io.php and the examples in config.php. I have commented them out obviously.


More...
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Upload a picture from the FCK editor ,is it possible? yulises osCMax v2 Customization/Mods 0 04-27-2008 05:35 AM
All In One FCK Editor WYSIWYG Editor michael_s New osCommerce Contributions 0 04-20-2008 09:20 AM
All In One FCK Editor WYSIWYG Editor michael_s New osCommerce Contributions 0 02-23-2008 01:00 AM
Problem with path to FCK Editor tp118 osCMax v2 Installation issues 0 12-28-2007 10:52 PM
fck editor query Lara Croft osCMax v2 Customization/Mods 3 01-25-2007 03:39 PM


All times are GMT -8. The time now is 02:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design