If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / FCKeditor 2.4.3 - Content Editor addon for Zen Cart

FCKeditor 2.4.3 - Content Editor addon for Zen Cart

Locked

Started by testuser on 17 Jul 2007, 11:05 AM · Views: 35,948

Results 21 to 40 of 149
This thread is locked. New replies are disabled.
11 Aug 2007, 6:35 PM
#21
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Post #21 by testuser

testuser:

:cool: A silent update was made to the download available in signature ...

Finally got added to the downloads section. You can get it there or from the link in signature.

If you have any questions, please don't hesitate to ask.

BEWARE: If you use the File Manager features ... make sure to CHMOD your directory permissions for that folder back to 755 after you've completed your editing. This ensures a safe and secure site.

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

17 Aug 2007, 1:37 PM
#22
anjellenee avatar

anjellenee

New Zenner

Join Date:
Mar 2007
Posts:
2
Plugin Contributions:
0

Post #22 by anjellenee

How do you access the file manager?

17 Aug 2007, 3:32 PM
#23
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Post #23 by testuser

anjellenee:

How do you access the file manager?

By either clicking on the Image Button on the editor's top panel, or the flash button. Believe I have it set to specifics so that others won't confuse the two (add image to flash, vice versa).

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

18 Aug 2007, 2:56 PM
#24
anjellenee avatar

anjellenee

New Zenner

Join Date:
Mar 2007
Posts:
2
Plugin Contributions:
0

Post #24 by anjellenee

Ok I thought file manager would enable you to edit any file in the system like oscommerce. Is there a capability for this anywhere?

What I need is to allow my enduser to edit content of a sidebox, and since tehre's no way that I know of in zencart to do that, I was hoping this filemanager would. But, is there something else that would allow them to edit content of sidebox?

Site is afrobooksinc.com. For instance they want to edit the right box under categories where the addresses are. How can they do that without using FTP?

18 Aug 2007, 4:25 PM
#25
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Post #25 by kimsonvu

I can not use this module when i post new product or edit product.I can use when i edit categories !

Can someone tell me to fix this problem?

This is image:

KIMSON

Thanks you & best regards,

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

18 Aug 2007, 6:03 PM
#26
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Post #26 by birdoasis

Is there a way to replace the tables that fckeditor uses with div?

John Patrick
A Zen Cart Advocate!

18 Aug 2007, 6:17 PM
#27
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Post #27 by birdoasis

Kimson,

Very nice products. If I had the funds I'd start importing them to the US.

This may be a stupid question but, have you installed the fckediter add-on from the Zen Cart downloads section,

And have you gone into:

Admin,
Configuration,
My Store,
HTML Editor,

and then choose fckeditor in the drop down menu?

John Patrick
A Zen Cart Advocate!

18 Aug 2007, 6:30 PM
#28
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Post #28 by kimsonvu

Oh... i did not open that box!I just choice Text Editor to FCKeditor when i edit .

Also,when i choice like your guide, i see this problem:

Warning: Missing argument 1 for fckeditor() in /home/handicra/public_html/shop/xxxx/includes/fckeditor.php on line 44

Fatal error: Call to undefined function: createfckeditor() in /home/handicra/public_html/shop/xxxx/includes/modules/product/collect_info.php on line 415

Can someone help me?

Also,your bird is very nice :D.Thanks you for your comment, you will see my product in American Handguner Magazine in USA in some next month.

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

19 Aug 2007, 7:02 AM
#29
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Post #29 by chuck

anjellenee:

Ok I thought file manager would enable you to edit any file in the system like oscommerce. Is there a capability for this anywhere?

What I need is to allow my enduser to edit content of a sidebox, and since tehre's no way that I know of in zencart to do that, I was hoping this filemanager would. But, is there something else that would allow them to edit content of sidebox?

How can they do that without using FTP?

No, there is no "file manager" in Zen Cart. IMO it's much safer to use FTP.

Nevertheless, there is an editable sidebox mod available which might suit your needs: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=686

22 Aug 2007, 5:03 PM
#30
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #30 by kuroi

Don't personally like these HTML editors, but am trying to install this for a client and getting the following message> Not Found

The requested URL /editors/fckeditor/editor/fckeditor.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Except that the file is there with appropriate permissions and I can link to it directly to bring up the editor on its own in a browser. Only when integrated with Zen Cart (i.e. useful) do I get this message.

The site is using Zen Cart 1.3.7.1 and version 2.4.3 of the FCKeditor available from this site's download section.

I'm rather hoping that before I go into deep debug mode, somebody else can point me towards a more rapid solution.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

22 Aug 2007, 6:52 PM
#31
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #31 by kuroi

Guess I'll need to answer this one myself :smile:

The problem appears to be that the editor handler file is encouraging it to look for the editor files relative to the admin directory. Resolved by finding the handler file (admin/includes/fckeditor_php5.php for this site) and changing the setting of $this->BasePath to > HTTP_SERVER . DIR_WS_CATALOG. 'editors/fckeditor/' to give it an absolute URL instead.

While in there I also changed the value $this->EditorAreaCSS to > HTTP_SERVER . DIR_WS_ADMIN . 'includes/stylesheet.css' as it seemed more logical to pick up styling from the admin stylesheet than the default template for the catalog.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

22 Aug 2007, 7:16 PM
#32
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Post #32 by testuser

kuroi:

Guess I'll need to answer this one myself :smile:

The problem appears to be that the editor handler file is encouraging it to look for the editor files relative to the admin directory. Resolved by finding the handler file (admin/includes/fckeditor_php5.php for this site) and changing the setting of $this->BasePath to to give it an absolute URL instead.

While in there I also changed the value $this->EditorAreaCSS to as it seemed more logical to pick up styling from the admin stylesheet than the default template for the catalog.

Nice ... I'll make the updates to both downloads. Needed to add an extra definition for the newsletter area as well.

Did you notice the error on 4 as well?

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

22 Aug 2007, 7:21 PM
#33
genxian avatar

genxian

New Zenner

Join Date:
Aug 2007
Posts:
17
Plugin Contributions:
0

Post #33 by genxian

Are there any security concerns with this mod still? I remember reading that there were some security concerns with the image uploading or something to that end.

Thanks,

Brandon

Thanks,

Brandon Hauff

22 Aug 2007, 7:52 PM
#34
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Post #34 by testuser

genxian:

Are there any security concerns with this mod still? I remember reading that there were some security concerns with the image uploading or something to that end.

Thanks,

Brandon

The security issues lie with the Webmaster ... if you CHMOD the directories back to a safe folder permission after your done with them there shouldn't be any concern.

If there isn't a blank index.php or index.html file in there, you can add one of those if you'd like. And of course, yes you can always go the .htaccess way of blocking indexing of those directories.

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

28 Aug 2007, 6:12 PM
#35
bestore avatar

bestore

New Zenner

Join Date:
Dec 2005
Posts:
17
Plugin Contributions:
0

Post #35 by bestore

testuser:

Updated :: Now works with PHP Versions 4 & 5 :: Download link in signature

For those of you ahead of the times:

It does not work in FF 3 (Gran Paradiso)!!!

I'm using FF 2.0.0.6 but FCKeditor is a no-show. I checked in IE and it works fine. Anyone else have this problem?

1 Sep 2007, 2:56 PM
#36
nullmind avatar

nullmind

Zen Follower

Join Date:
Jul 2007
Posts:
129
Plugin Contributions:
0

Post #36 by nullmind

bestore:

I'm using FF 2.0.0.6 but FCKeditor is a no-show. I checked in IE and it works fine. Anyone else have this problem?

same problem here :( .. no show with 2.0.0.6

1 Sep 2007, 5:44 PM
#37
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Post #37 by testuser

**For those of you on 1.3.6 (fixed in 1.3.7)

admin/includes/modules/product/collect_info.php

Line 411 - 415:

**```

<?php if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") { // if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") require(DIR_WS_INCLUDES.'fckeditor.php'); $oFCKeditor = new FCKeditor ; $oFCKeditor->Value = (isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']) ; $oFCKeditor->CreateFCKeditor( 'products_description[' . $languages[$i]['id'] . ']', '99%', '230' ) ; //instanceName, width, height (px or %) ``` **Replace with: **``` <?php if ($_SESSION['html_editor_preference_status']=="FCKEDITOR") { $oFCKeditor = new FCKeditor('products_description[' . $languages[$i]['id'] . ']') ; $oFCKeditor->Value = (isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']) ; $oFCKeditor->Width = '99%' ; $oFCKeditor->Height = '350' ; // $oFCKeditor->Config['ToolbarLocation'] = 'Out:xToolbar' ; // $oFCKeditor->Create() ; $output = $oFCKeditor->CreateHtml() ; echo $output; //instanceName, width, height (px or %) ``` You'll probably have to fix collect_info.php in document_general, document_product, etc ... if issues are arising there as well.

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

1 Sep 2007, 6:03 PM
#38
bestore avatar

bestore

New Zenner

Join Date:
Dec 2005
Posts:
17
Plugin Contributions:
0

Post #38 by bestore

testuser:

**For those of you on 1.3.6 (fixed in 1.3.7)

admin/includes/modules/product/collect_info.php

Line 411 - 415:

**```

<?php if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") { // if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") require(DIR_WS_INCLUDES.'fckeditor.php'); $oFCKeditor = new FCKeditor ; $oFCKeditor->Value = (isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']) ; $oFCKeditor->CreateFCKeditor( 'products_description[' . $languages[$i]['id'] . ']', '99%', '230' ) ; //instanceName, width, height (px or %) ``` > > **Replace with: > > **``` <?php if ($_SESSION['html_editor_preference_status']=="FCKEDITOR") { $oFCKeditor = new FCKeditor('products_description[' . $languages[$i]['id'] . ']') ; $oFCKeditor->Value = (isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']) ; $oFCKeditor->Width = '99%' ; $oFCKeditor->Height = '350' ; // $oFCKeditor->Config['ToolbarLocation'] = 'Out:xToolbar' ; // $oFCKeditor->Create() ; $output = $oFCKeditor->CreateHtml() ; echo $output; //instanceName, width, height (px or %) ``` > > You'll probably have to fix collect_info.php in document_general, document_product, etc ... if issues are arising there as well. Thanks, testuser, but I'm using v1.3.7 (I checked to be sure the above is there), and FCKEditor is still a no-show in FF 2.0.0.6.
1 Sep 2007, 6:07 PM
#39
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Post #39 by testuser

bestore:

Thanks, testuser, but I'm using v1.3.7 (I checked to be sure the above is there), and FCKEditor is still a no-show in FF 2.0.0.6.

I just checked a clean install and FF 2.0.0.6 and it worked for me.

Can you give me a few more details like your php version. You can find this under Tools :: Server Info

Also, maybe an admin login so I could possibly see any errors. You can PM that to me.

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

1 Sep 2007, 6:39 PM
#40
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Post #40 by testuser

You may also need to clear your browser's cache and logout and log back into the admin. :lamo:

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net