2

EE 2.7.3c / WYGWAM 3.3.2 / MSM / Native EE File Management

All images/files are loaded on one domain but need to be used on both. WYGWAM is returning relative paths so the client has to manually insert the correct domain.

Is there a way to get WYGWAM to return a full path?

2 Answers 2

1

CKEditor has a "config.baseHref" parameter - check http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html Maybe use the wygwam_config hook ( https://docs.pixelandtonic.com/wygwam/developers/wygwam_config.html ) to set that parameter per site?

1
  • Thanks! I'll give that a try. It doesn't have to be per-site - we're just loading images from one site on the other. Commented Apr 30, 2015 at 15:57
1

Missed the easy answer - I had relative paths configured on the file upload directories. Changed to full paths there and it comes through in WYGWAM.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.