Help - Search - Members - Calendar
Full Version: Using Relative Url For Assets
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
jnewman29150
Hello

I have recently upgraded our MT3.6 sites to MT4. One of the features that I am hoping to take advantage of are Assets. My problem is related to our current workflow, currently we are adding pages and entries in MT and publishing to /var/www/html/staging.something.com but the site url is set to http://www.something.com these files are on the same server at /var/www/html/www.somthing.com. So we publish to the staging directory then a supervisor can view the new or edited content on staging and then approves the content to go live, we are currently using an rsync script to compare and move the updated files to www directory. So want happens with the Assets current store the files using the publihsing path, but the object used to display the entries is using the site URL.

I have tried using relative urls in the code however that does not seem to work in Movable type backend

Can anyone give me an idea if this can be modified to suit our needs

Thanks

Jeff Newman
danwolfgang
You may be able to use Custom Asset Markup to put together a relative URL. (At least, it sounds good in theory--I haven't tried it myself.)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.