Page 4 of 4 FirstFirst ... 234
Results 31 to 40 of 40
  1. #31
    Join Date
    May 2005
    Location
    san francisco - California
    Posts
    53
    Plugin Contributions
    0

    Default Re: Using TinyMCE Editor with Zen Cart

    ok i managed to do myself cos this thread looks dead ...many unanswered questions.
    Maybe i'm not so retarded as i thought huh....
    after all i learn something...
    everything is working now even the complete ibrowser and not only the insert image button.
    Just i can't figure what does the filebrowsercallback stands for and how to implement it into zen if some compassionate soul could enlighten me whith some example i'd be grateful

    thanks
    "You cannot step into the same river twice, for fresh waters are ever flowing in upon you."
    Heraclitus

    Most of the universe is made of emptyness

    all i know is that i don't know

    http://sualojanaweb.googlepages.com
    http://www.insitesolutions.com.br

  2. #32
    Join Date
    Mar 2004
    Location
    Fort Collins, CO :: Play Hockey eh?!
    Posts
    64
    Plugin Contributions
    0

    Default Re: Using TinyMCE Editor with Zen Cart

    Your host is probably running PHP under phpsuexec
    The resized files being created by TinyMce ibrowser were being created under my username with permission 600. Since Apache runs as user "nobody", it could not access these files.

    One would have to edit the upload script to add a chmod 644 directive. Unfortunately I have not figured out where or what to add exactly...

    Quote Originally Posted by Rami View Post
    Thank for Your answer but I have changed those mode 777 as well... I'm starting to be littlebit desperate with issue... Is it possible that server causes this kind of problem?

  3. #33
    Join Date
    Oct 2004
    Location
    Houston, TX
    Posts
    782
    Plugin Contributions
    4

    Default Re: Using TinyMCE Editor with Zen Cart

    Quote Originally Posted by flash View Post
    Your host is probably running PHP under phpsuexec
    The resized files being created by TinyMce ibrowser were being created under my username with permission 600. Since Apache runs as user "nobody", it could not access these files.

    One would have to edit the upload script to add a chmod 644 directive. Unfortunately I have not figured out where or what to add exactly...
    Does your host have a function that will reset file permissions back to the main owner's account. A lot of CPanel's have this function you just have to look for it.

  4. #34
    Join Date
    May 2005
    Location
    Brussels belgium
    Posts
    203
    Plugin Contributions
    0

    Idea or Suggestion Re: Using TinyMCE Editor with Zen Cart

    FYI

    2007-08-21 TinyMCE 2.1.2 Released

    --- Change log ---
    Added fix for polluting third partly libraries that insist on messing with internal objects.
    Added new save_on_tinymce_forms option to control when triggerSave is to be called.
    Added mceContentBody class to template plugin preview.
    Fixed bug where background color didn't work as expected in Opera.
    Fixed bug where empty p tags where created on source code edit when forced_root_block was used.
    Fixed bug where it was impossible to remove alignment using the align buttons.
    Fixed bug where a empty URL was reported as a possible email link in advlink dialog.
    Fixed bug where Opera would destroy the body if you pressed return 3 times in the beginning of a list.
    Fixed bug where getHTML would return an empty string in IE sometimes.
    Fixed bug where tinyMCE.selectedInstance is null after mceRemoveControl.
    Fixed bug where remove_script_host option didn't work with media plugin.
    Fixed bug with the convert_urls option and anchors in the advlink plugin.
    Fixed issue with missing entityDecode statement for new document confirm.
    Fixed issue with incorrect font value for Sans-serif.
    Fixed problem with some youtube video urls.



    //chris
    Zen cart or nothing !!

  5. #35
    Join Date
    Mar 2007
    Posts
    112
    Plugin Contributions
    0

    Default Re: Using TinyMCE Editor with Zen Cart

    [FONT=Verdana]Hi,[/FONT]

    [FONT=Verdana]I downloaded the Editor – TinyMCE Plugin v1.0 this morning, followed all exact instructions (twice), but have some weird problems:[/FONT]


    • [FONT=Verdana]TinyMCE does show up in the Tools -> Define Pages Editor list (along with HTMLarea and FCKeditor2.5), but when I select it, “TinyMCE” stays in the listbox for about 2 seconds, then it reverts back to “HTMLarea”. When I open a page, however, TinyMCE is indeed the editor! Any idea why the listbox doesn’t just continue to display “TinyMCE”?[/FONT]
    • [FONT=Verdana]Same thing happens when I go to Category pages – the box in top right shows all 3 editors, but when I select TinyMCE, it again displays HTMLarea after a 2-sec pause. This time, however, when I select a category to edit, the editor is HTMLarea and not TinyMCE.[/FONT]


    [FONT=Verdana]I looked through the various posts here, but they were all fairly old and none had a similar problem. And after reading them, and doing lots of experimenting, I still can’t get it to work right. Is there something I’m missing here? For instance, both HTMLarea and FCKeditor2.5 have folders in “mystore/editors”, but TinyMCE goes under “mystore/admin” instead. And there are both HTMLarea.php andFCKeditor.php files in “mystore/admin/includes” but no TinyMCE files.[/FONT]

    [FONT=Verdana]Anyway, any help you could provide here would really be appreciated![/FONT]

    [FONT=Verdana]Thanks![/FONT]
    RAB

    Why is it I'm always surprised when something actually works?

  6. #36
    Join Date
    Jul 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Using TinyMCE Editor with Zen Cart

    Installing the new TinyMCE has me scratching my head too. I have it successfully installed (I modified it to run from editors/) but the Image Manager feature is giving me hell with "Invalid base directory:
    Notice: Use of undefined constant b - assumed 'b' in"

    But anyway, rbobzin, did you complete the instructions from the readme file?

    TinyMCE with ImageManager v1.0


    About:
    ---------------------------------------------------------------
    This is a combination of TinyMCE (with TinyMCE PHP compressor) and ImageManager third party plugin which is free. Have you experience the bad interface of textarea editor in Admin area of zencart? Originaly TinyMCE would not have image upload and image browse capabality when inserting image to document. This script will enable you to achieve that. I will not liable for this package and it comes without any warranty. Tested and worked with Zen-Cart v1.3.8a.


    Package Contents:
    ---------------------------------------------------------------
    TinyMCE version 3_0_6
    ImageManager v1.1
    TinyMCE PHP Compressor 2_0_1



    Installation Instruction:
    ---------------------------------------------------------------
    1. Extract inside /admin/ folder of the zencart, so that you will have /admin/tiny_mce

    2. Copy and insert the following javascript codes in "define_pages_editor.php" inside /admin/ folder. Probably after the other javascripts and before the "</head>".

    <!-- start of calls TinyMCE -->
    <script language="javascript" type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
    <script language="javascript" type="text/javascript">
    tinyMCE.init({
    mode : "textareas",
    theme : "advanced",
    plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell ,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionali ty,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
    theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycen ter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselec t",
    theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent ,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,in sertdate,inserttime,preview,|,forecolor,backcolor",
    theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell, media,advhr,|,print,|,ltr,rtl,|,fullscreen",
    theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym, del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
    theme_advanced_toolbar_location : "top",
    theme_advanced_toolbar_align : "left",
    theme_advanced_statusbar_location : "bottom",
    theme_advanced_resizing : true,
    extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmous eout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
    template_external_list_url : "example_template_list.js",
    file_browser_callback : "fileBrowserCallBack",
    debug : false,
    relative_urls : true,
    document_base_url : "http://localhost/zencart/"
    });
    </script>
    <!-- end of calls -->

    <!-- start of calls IMAGE MANAGER for TinyMCE -->
    <script language="javascript" type="text/javascript" src="tiny_mce/plugins/ImageManager/assets/dialog.js"></script>
    <script language="javascript" type="text/javascript" src="tiny_mce/plugins/ImageManager/IMEStandalone.js"></script>
    <script language="javascript" type="text/javascript">
    var connector = "tiny_mce/plugins/ImageManager/manager.php";
    base = "G:/htdocs/zencart/images";
    path = '/zencart/images';
    </script>
    <script language="javascript" type="text/javascript" src="tiny_mce/plugins/ImageManager/tinycall.js"></script>
    <!-- end of calls -->


    3. Replace the 'document_base_url : "http://localhost/zencart/"' with your zencart site url. For example: document_base_url : "http://www.abcdefg.com/myshop/"

    4. Replace the 'base = "G:/htdocs/zencart/images";' with your images folder (this folder must be writable to upload new image file). For example: base= "/home/abcdefg/public_html/myshop/images";

    5. Replace 'path = '/zencart/images';' with your relative path to your image/upload folder. For example: path = '/myshop/images';

    6. Save the edited "define_pages_editor.php". Login to the Admin area and go to "Tools"->"Define pages editor". Repeat the process for other pages which you want to use TinyMCE.


    Optional Additional Installation Step:
    ---------------------------------------------------------------
    If you want to utilize the TinyMCE compressor you can follow the steps which available at this site: http://wiki.moxiecode.com/index.php/...Compressor/PHP

    Personally, I do not recomend this especially if you still able to view the page with tinyMCE editor within reasonable amount of time. In addition, TinyMCE will be used only in admin area which will not be accessed massively.

  7. #37
    Join Date
    Mar 2007
    Posts
    112
    Plugin Contributions
    0

    Default Re: Using TinyMCE Editor with Zen Cart

    Thanks for the quick response!

    Yes, I followed the Readme instructions to the letter. I'm now considering to install it in /editors as described in the first post in this thread, but am wondering if this is OK in Zen Cart v1.3.8a, since the posting is several years old!

    Any thoughts?
    RAB

    Why is it I'm always surprised when something actually works?

  8. #38
    Join Date
    Dec 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Using TinyMCE Editor with Zen Cart

    sorry for bring this old thread.

    TinyMCE is now 3.2.8 version

    it has multiple image upload and i am wondering if anyone is able to port this to zencart ?

    thanks

  9. #39
    Join Date
    Jan 2009
    Location
    Macclesfield, South Australia
    Posts
    102
    Plugin Contributions
    0

    Default Re: Using TinyMCE Editor with Zen Cart

    Downloaded TinyMCE, installed it, configured it...
    Waisted hours on it, It didnt work at all...deleted it !

  10. #40
    Join Date
    Nov 2005
    Location
    Vancouver, Canada
    Posts
    151
    Plugin Contributions
    0

    help question Re: Using TinyMCE Editor with Zen Cart

    Hi:

    I'm not sure this is the correct place for this post, but I did not find the official forum.

    I have a quick question. I installed
    TinyMCE Version: 2.1
    Title : TinyMCE Editor v3.0.8 Plugin for Zen Cart v1.3.8a (EQUIPED with ImageManager Plugin)
    Author : http://www.ferolen.com
    Release: 19 May 2008

    back in February. I have been using it since and had no problems even had the image manager working like a charm. However, yesterday I noticed that when I went to edit a product description or a define page, the textarea of the TinyMCE editor is blank. I switch editor in admin>configuration>store back to HTML editor and I can see it just fine.

    The only thing new on the server is the recently installed security patch and a renamed admin. I then checked the cpanel error log and got this repeating line:
    [Thu Jul 23 17:55:14 2009] [error] [client myIP] File does not exist: /home/user/public_html/ImageManager/lang/en.js

    I then removed the patch completely and still get a blank.

    Has anyone experienced this?

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Setting up styles with the tinymce editor
    By KismetDesign in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 30 Dec 2010, 06:11 PM
  2. Using Linkpoint/YourPay API module with Zen Cart Zen Cart 1.3.0.1
    By mars22 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 23 Oct 2010, 11:57 AM
  3. TinyMCE editor does something odd with image URLs
    By kachana in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 19 Sep 2010, 07:17 AM
  4. The Define Pages Editor (HTMLarea) is that using TinyMce?
    By IllusionGuy in forum General Questions
    Replies: 2
    Last Post: 17 Jul 2007, 08:23 PM
  5. using TinyMCE as the default editor
    By knewbill in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Aug 2006, 05:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg