Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2008
    Posts
    24
    Plugin Contributions
    0

    Default TinyMCE editor does something odd with image URLs

    I am using 1.39d with TinyMCE 3.6.6, and unable to upload images. But I noticed something really odd when I used it to open the define_main_page.php. The default image that's supposed to be in the images/large/e-start-book.gif of the catalog side, is changed to /ADMINFOLDERNAME/images/large/e-start-book.gif after I saved the file. I have no idea why that is...please help. Maybe this is why I am unable to upload images to the server?

    Any help is greatly appreciated. Thanks,

    Kachana

  2. #2
    Join Date
    Oct 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: TinyMCE editor does something odd with image URLs

    I just installed CKEditor, and this one does the same thing. It automatically appends the admin folder to the image urls. I am running fresh 1.39d install, and the only add-ons are these editors. I also changed the admin folder, do you think I messed it up somewhere???

  3. #3
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: TinyMCE editor does something odd with image URLs

    No you didn't mess it up

    thats the default behaviour, or at least it was for me

    what i did was change the below around line 37? of

    admin/includes/tinymce.php


    relative_urls : false,
    to


    // relative_urls : false,
    // added Nigel
    convert_urls : false,
    apparently some versions of IE may ignore the rule, but that is what fixed it for me

    have a read here for other solutions

    http://wiki.moxiecode.com/index.php/...lative_URLs.3F

 

 

Similar Threads

  1. v139h TinyMCE, Can't browse for image in Define Pages editor
    By PGlad in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 May 2012, 05:21 PM
  2. 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
  3. Using TinyMCE Editor with Zen Cart
    By flambeau in forum All Other Contributions/Addons
    Replies: 39
    Last Post: 24 Jul 2009, 06:18 PM

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