Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way to return different domain for ckeditor when you click "Insert file" button. For example:
http://static.example.com/zzz/xxx/ instead of http://example.com/sites/default/files/zzz/xxx/
zzz/xxx format will always be month/year (ex. 01/2010, 02/2010, 03/2010 etc) if that make any differece.
Comments
Comment #1
ufku CreditAttribution: ufku commentedYou can do it by overriding imce.getURL() method in your theme's script.js.
The below code prepends a domain name to the file URL.
Comment #2
ufku CreditAttribution: ufku commented