Re: [Zope] - How do I change the name of the / icon
David Warman wrote:
The documentation example shows the root folder Icon associated with the name "Plutonia". My version has no name, nor any apparent way of changing it. The docs do not say how the hypothetical user set his site name.
First, there is really not much of a notion of a site name in Zope. To the degree that there is a site name, it is defined to be the suffix of the URL, following the host name, used to access the site. For the ZopeHTTPServer, this is an empty string. What would you like to use the site name for? Do you simply want a better decoration for the top-level folder in the navigation pane? Jim -- Jim Fulton mailto:jim@digicool.com Technical Director (540) 371-6909 Python Powered! Digital Creations http://www.digicool.com http://www.python.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jim Fulton wrote:
David Warman wrote:
The documentation example shows the root folder Icon associated with the name "Plutonia". My version has no name, nor any apparent way of changing it. The docs do not say how the hypothetical user set his site name.
First, there is really not much of a notion of a site name in Zope. To the degree that there is a site name, it is defined to be the suffix of the URL, following the host name, used to access the site. For the ZopeHTTPServer, this is an empty string.
Aha. This answers my question
What would you like to use the site name for? Do you simply want a better decoration for the top-level folder in the navigation pane?
I was more concerned that I could not see how something unexplained in the docs came to be. Now I know why the string is empty I can carry on. Thanks.
Jim
-- Jim Fulton mailto:jim@digicool.com Technical Director (540) 371-6909 Python Powered! Digital Creations http://www.digicool.com http://www.python.org
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
participants (2)
-
David Warman -
Jim Fulton