-
MODX Staff
- 12,272 Posts
Those are great uses indeed Jason. Maybe we should look at the way URL rewriting is handled, or reorganize / relabel the Container field in general to make it more clear as to sound usage cases. I don’t think it’s all that clear based on how it behaves now, and better URL / URL-path handling is certainly as good a use case as any to merit reworking it that way. I’d be interested to hear how others use the flag, too.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Quote from: OpenGeek at Aug 24, 2009, 04:14 PM
Don’t know about Eol, but I’ve used it several times. The first is when delivering xml content from a Resource that has children; I needed the Resource to have the .xml file extension. Making it not be a container allows me to do that in Revo, yet it can still have children. Another reason was just to make a page fit an existing URL structure without having to create a duplicate that was a container, i.e. as a container, my alias foo becomes foo/, but I needed foo.html despite needing to also have foo/child1.html and foo/child2.html. I’m sure it will be useful in many similar situations.
In Evo, a container with children and content gets the .html suffix whether you want it or not. With friendly alias path on, the children get foo/child.html.