Are my approach the right one for being "PORTABLE"?
I have my links in template like this:
<link href="[(base_url)]assets/templates/4up2date/default.css" rel="stylesheet" type="text/css" />
That output them like this:
<link href="/assets/templates/4up2date/default.css" rel="stylesheet" type="text/css" />
[(base_url)] gives them an
/
//I have the
<base href="[(site_url)]"></base>
outputing:
<base href="http://4up2date.info/"></base>
OR DOES IT NOT MATTER?
-
MODX Staff
- 10,725 Posts
If you have the BASE element with the site_url at the beginning of your HEAD in every template, there is no reason for the base_url tags in your href/src properties within the content.
Sweet thing I asked! I have done it in vain!!
TNX.
I think I have the same problem as warenhaus...
When I click "Insert" in the image TV side, the resource manager opens, it opens where my images are and everything works fine...
except, there are no images... only a red dot with the name of the file..
it has the name underneath and the images are displayed in the TV if I select one... so...
I have read the other thread also and I have played with the path, but it is OK as it finds my images...
I am working in a new 9.6.3 install, any ideas?
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
mrhaw, thanks for the reply but that is not my issue.
And by the way, I was not aware at that functionality but it works fine for me, docs and images...
My prob is in the TV insert resource manager...
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner