Re: [Zope] Naming files with a dot
Hi, The default view for an object is called "index_html". So, if you go to "yoursite.com/Folder", Zope will serve up "Folder/index_html". If you name it "index.html", Zope won't find it. Other than that, "." is not legal in python expressions, so you may find yourself having to use "_['index.html']" sometimes if you are trying to call it from other objects. Beyond those two things, there is no real problem. I've used "index.html" or "foo.gif" in a number of cases myself... Kevin -----Original Message----- From: James Punteney <jamesp@mmgco.com> To: zope@zope.org <zope@zope.org> Date: Friday, October 01, 1999 1:46 PM Subject: [Zope] Naming files with a dot
Is there a problem with naming a page using a period instead of the under score as in "index.html" instead of "index_html". I'm just thinking for somebody typing in the url the dot is the normal way and provides one less thing to remember. This would only be for the DTML Documents? Not the DTML Methods or anything else, and probably even just the end documents (in other words not the headers and footers).
participants (1)
-
Kevin Dangoor