We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

WYSIWYG Editor with EE image integration

Development and Programming

Easterly's avatar
Easterly
31 posts
15 years ago
Easterly's avatar Easterly

Hi Malcolm! Thanks for the reply -

var ep_custom_classes = “”; var ep_image_action_id = “0”; var ep_link_action_id = “0”; var ep_script_path = “http://www.easterlyinteractive.com/system/modules/ep_editor/editor_files/”; var ep_editor_width = “95%”; var ep_editor_height = “250px”;

MSM lets us create 21 “microsites” off the default one (http://www.easterlyinteractive.com), using that single install of EE, which leads me to think there’s a path issue going on? All the microsites have subdomains of the default site, for example http://buckhead.easterlyinteractive.com, http://buffalogrove.easterlyinteractive.com, etc.

Originally, EP Editor wouldn’t load in any of the microsites’ edit screens (but worked fine in the default site), even though it was enabled/installed and the Field Type was selected for the custom fields. I looked in the source of the CP edit screen, and the ep_script_path was “http://buckhead.easterlyinteractive.com/system/modules/ep_editor/editor_files/” - obviously wasn’t finding the supporting files. So as a recourse, in the ext.ep_editor.php file line 378, I changed the $editor_url to the default site - http://www.easterlyinteractive.com/system/modules/ep_editor/editor_files/. That seemed to work and EP Editor now appeared in the edit screens and we could wysiwyg edit… except for the Image and Link buttons, which just open a blank window… do you think this is related to Dave_H’s post? Or something else going on?

Thanks for your help, Randy

       
Electric Putty's avatar
Electric Putty
88 posts
15 years ago
Electric Putty's avatar Electric Putty

@rho: I’m going to install MSM and look at this further.

The problem we have is that in order for the Link and Image manager to work we have to use JavaScript to pass values from one window to another, so the new windows have to be created in the same domain as the main CP window.

I’m guessing that you access each different site’s CP via its own sub-domain (e.g. http://the-sub-domain.the-main-domain.com/system/) BUT the actual CP files reside on the main domain only (e.g. http://the-main-domain.com/system/modules/ep_editor/editor_files/).

We’re going to make this a priority so will hopefully have a solution soon. We have a huge amount of client work on at the moment so we’re going to delay the release of version 1.0.6 and make sure this fix is part of it.

Thanks, Malcolm

       
Electric Putty's avatar
Electric Putty
88 posts
15 years ago
Electric Putty's avatar Electric Putty

Version 1.0.6 delayed

Read more: http://www.electricputty.co.uk/epeditor/?p=72

       
Easterly's avatar
Easterly
31 posts
15 years ago
Easterly's avatar Easterly

Hi Malcolm - thx for the reply - we’ll eagerly await your new release.

We’re actually logging in at the same default_site URL, for all the subdomain sites - MSM adds a tab in the CP to let users switch CP views from site to site. Not sure what happens behind the scenes when that occurs, though…

Thanks again, Randy

       
MediaGirl Inc.'s avatar
MediaGirl Inc.
186 posts
15 years ago
MediaGirl Inc.'s avatar MediaGirl Inc.

Hi Malcolm,

A couple little bugs I’m seeing on a site in development to report.

Links that are bold, italic or around an image seem to have problems.

The page source looks perfectly correct for the rendered page but when the link is clicked in FireFox, a new tab pops up with an incorrect URL. The URL looks like this:

http://www.domain.org/commute-alternatives/undefined

The first part (up to “undefined”) is the URL for the page where the link resides. The undefined is added on to the end.


Also, thank you for the code to add the HR button. I was able to get the button showing but clicking it didn’t insert anything into the field:(

Thank you, Anna

       
werxstudio's avatar
werxstudio
12 posts
15 years ago
werxstudio's avatar werxstudio

Is there an ETA on version 1.0.6 by any chance?

       
patrick-vibes's avatar
patrick-vibes
63 posts
15 years ago
patrick-vibes's avatar patrick-vibes

@Mark - did you or anyone here for that metter get the image re-sizing working? I am using FireFox and can upload and insert the image but when I drag and resize it in the editor then update the entry it does not display the image at its modified size.

       
Electric Putty's avatar
Electric Putty
88 posts
15 years ago
Electric Putty's avatar Electric Putty

Calling all testers - 1.0.6 beta is (sort of) ready

Sorry about the hiatus, we’ve been so busy with client work that development on the editor kind of ground to a halt.

However version 1.0.6 is now ready for testing. To download and get more information please to: http://www.electricputty.co.uk/epeditor/?p=78

Thanks,

       
First 5 6 7

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.