You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a possibility in MODx for the media source to have resource specific path.
Using for example migxResourceMediaPath which is part of MIGX component.
For the editor and the resource browser to work properly with such a path the ID of the resource should be part of resource browser URL.
There is a small change needed in tinymcerte.js file (line 66) url: MODx.config['manager_url'] + 'index.php?a=' + MODx.action['browser'] + '&source=' + MODx.config['default_media_source'] + (MODx.ctx ? ('&ctx=' + MODx.ctx) : '') + (MODx.request.id ? ('&id='+MODx.request.id) : '' )
The text was updated successfully, but these errors were encountered:
dymitar
changed the title
Add the document ID to browser URL
Add the document ID to resource browser URL
Mar 20, 2018
There is a possibility in MODx for the media source to have resource specific path.
Using for example migxResourceMediaPath which is part of MIGX component.
For the editor and the resource browser to work properly with such a path the ID of the resource should be part of resource browser URL.
There is a small change needed in tinymcerte.js file (line 66)
url: MODx.config['manager_url'] + 'index.php?a=' + MODx.action['browser'] + '&source=' + MODx.config['default_media_source'] + (MODx.ctx ? ('&ctx=' + MODx.ctx) : '') + (MODx.request.id ? ('&id='+MODx.request.id) : '' )
The text was updated successfully, but these errors were encountered: