Hi,
I’ve been using Modx for a while now and just made the switch to Revolution 2.0.2. One problem I’ve just come up against is that when I make an Image Template variable, the url output is always relative, which obviously isn’t very handy as friendly url paths get built up.
For example, my page at url ’www.test.com/topic1/section1’ may have an image on it that is in a folder in the root of the site (say in the folder project/images). When I select this in the resource browser of my tv, it gets the path correct, but as it is relative it can’t find the image as it omits the first forward slash (/) to look in the root of the site.
I thought changing the ’file manager path’ in system settigns would fix this, and have set it to be /projects/, but it keeps stripping out the leading /, and so outputs projects/images/image.gif, when I want /projects/images/image.gif.
Any help on this would be much appreciated - been banging my head against a wall for a while now!
Cheers
Thanks Shaun for your quick reply. It will work for chunks, snippets and plugins.
But how to make it work with TinyMCE? (I agree with you, this is not the same question ;-))
Any new insights on this issue?
I struggle with the same issue in a multilingual environment.
As this slowly becomes almost a standard feature of MODx with the ’Bable’ plugin, it might be a good idea to have an ’asset_path’ setting as part of the core setup.