Hi,
is it possible to override single resources from a previously defined
resourcedirectory? I have let's say a 3rd party product defining
...
resourceDirectory
name=mycss
directory=resources
permission=zope.Public
/
...
Now I need to override a single css-file
Hi Christophe,
you may want to take a look at pylint.
www.logilab.org/project/name/pylint
It is a coding standard checker, finding unused imports as well but does
much more.
Cheers
-Tom
Christophe Combelles wrote:
Hello,
As I'm experimenting with various components, I'm adding more and
Hi there,
I override BrowserMenu from zope.app.publisher.browser.menu and add
a entry 'abs_action' to the resulting dictionary.
Something like:
class MyBrowserMenu(BrowserMenu):
def modify(self, menu, request):
siteurl = absoluteURL(hooks.getSite(), request)
for item in
-- index end --
Tom Gross wrote:
Hi Ivan,
did you get the code from the repository? It's:
svn checkout http://zope3demos.googlecode.com/svn/trunk/ zope3demos
Cheers
-Tom
Ivan Horvath wrote:
thank you Tom!
i downloaded, but unfortunately i cannot see it in my browser.
what is the url
Hi Ivan,
I might be wrong, but I think there's an example for listwidgets
containing objects in the zope3demos-package:
http://code.google.com/p/zope3demos/
Maybe it helps.
Cheers
-Tom
Ivan Horvath wrote:
Dear All,
in my implementation there is an object. one of this object properties
package?
Tom Gross wrote:
Hi Ivan,
I might be wrong, but I think there's an example for listwidgets
containing objects in the zope3demos-package:
http://code.google.com/p/zope3demos/
Maybe it helps.
Cheers
-Tom
Ivan Horvath wrote:
Dear All,
in my implementation there is an object. one
Hi,
I created a customized 'NotFound'-Page which displays fine itself.
Now the page should render in a skin with some security sensitive
viewlets. These viewlets disappear when rendering the 'NotFound'-Page.
Is there a known solution to the problem?
Thanks,
Tom
Hi Frank,
is your InitIndicator-instance implementing the
IInitIndicatorFB-interface. This is absolutely necessary
for providing it as an utility. There's an easy test for this:
from zope.interface.verify import verifyObject
ii = InitIndicator()
verifyObject(IInitIndicatorFB, ii)
True
Hi Frank,
you are trying to lookup the utility with the name None. If you
don't specify a name when registering the utility,
omit the second parameter: zapi.getUtility(IInitIndicator)
Cheers
-Tom
FB wrote:
On Tue, Dec 12, 2006 at 05:29:55PM +0300, Garanin Michael wrote:
FB wrote:
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of David Johnson
Sent: Tuesday, November 28, 2006 2:21 PM
To: 'Tom Gross'
Cc: zope3-users@zope.org
Subject: RE: [Zope3-Users] Custom Content Container
Yes indeed. I'm only using 1 Text and 3 TextLine fields. This is my first
attempt
Hi David,
which fields does your IOwner-interface consist of? You get this error
if you call an auto generated form from a List-field, without
having value_type specified, but there are other scenarios, so this
information would be helpful.
Cheers
-Tom
David Johnson wrote:
I created a
Hi Shailesh,
try request.get('SERVER_PORT').
Cheers
-Tom
Shailesh Kumar wrote:
Hi,
Is it possible for the application code to figure out the port number
on which zope is running? What is the suitable api for that?
With regards,
-shailesh
Hi Shailesh,
just make sure there are three subdirectories available in the
directory of your mailqueue:
cur, tmp, new. This is the common maildir format.
see: man 5 maildir
*THE* *MAILDIR* *STRUCTURE*
A directory in /maildir/ format has three subdirectories, all
on
content objects inside the root folder.
Something like:
root = getRootFolder() #using some way I don't know.
root['etc'] = Folder()
root['var'] = Folder()
...
Is it possible to do that?
With regards,
-shailesh
On 11/15/06, *Tom Gross* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote
Hi Shailesh,
have a look at zope.traversing.api. There's a getRoot-method.
Cheers
-Tom
Shailesh Kumar wrote:
Hi,
In a functional test setup, one can access the root folder using
getRootFolder() of FunctionalTestSetup.
How can I access the root folder in a nomal operation mode? Is
15 matches
Mail list logo