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
@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
Version 1.0.6 delayed
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
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
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,
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.