Quote from: OpenGeek at Dec 23, 2005, 02:33 PM
Please note one change that we will need to communicate to those performing upgrades: there is no longer a <base href="[(site_url)]" /> inserted or required in the template header to support using friendly alias paths! You can use [(base_url)] in front of any paths (e.g. CSS, images, javascript) in your template if you want to it work in any virtual sub-directory.
Just looked at the code. Nice work Jason my only question is what’s the reason for removing the <base /> tag? Was it causing problems?
Also note that those users who add [(base_url)] before the url inside their image tags will not be able to preview those images inside the RTE
IMO the <base /> makes all of this transparent to the user there’s no need to add [(base_url)] to your css, script or image files if the <base /> tag is used.
What do you think?
-
MODX Staff
- 10,725 Posts
I’d like to add the base href back as an option actually, until then I can post information on the changes to alias path’s and make it clear that such image issues will require users to add the base tag to their template (easy enough), and investigate how the ancient rewrite image paths could be refactored (or maybe the parser itself) to solve this issue moving forward.
-
MODX Staff
- 10,725 Posts
Hey Zi -- we changed the meaningless x9 to reflect the current SVN revision of the release.
-
MODX Staff
- 12,272 Posts
rev = revision = the commit number in subversion
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Quote from: zi at Dec 24, 2005, 02:47 AM
Means it was planned
....
OK, what about MODx 0.9.1 (Build 646) 
I’m in agreement with Zi. It we’re going to change the code name from "x9" to somthing else then I think we should be "Build ---" rather than "rev ---", where --- is the number of the svn revision inside that is used to build the install.
Quote from: OpenGeek at Dec 23, 2005, 05:25 PM
I’d like to add the base href back as an option actually, until then I can post information on the changes to alias path’s and make it clear that such image issues will require users to add the base tag to their template (easy enough), and investigate how the ancient rewrite image paths could be refactored (or maybe the parser itself) to solve this issue moving forward.
In 0.9.0 base url was only inserted into the page when FAP were turned on.
I don’t think the <base /> should have been removed in 0.9.1 with the hopes of using [(base_url)] before css and image tags.
http://modxcms.com/forums/index.php/topic,1942.msg13616.html#msg13616
IMO the <base /> makes it easier to use relative paths for images, etc when FAP is witched on.