Looking for some docs, however incomplete, on programmatically (DTML OR
Python) add a Specialist (or Specialist Derived ZClass) and set up teh
defaultRack, and add a Skinscript/Trigger.
I would also like to be able to set the ZClass storage too ...
That's not asking much, is i ? :)
--
E
Lee Hunter wrote:
I was wondering if anyone here has used Zope to create
bilingual/multi-lingual/localised websites.
I've done a number of bilingual (French and English) projects in recent
years using plain old html where the two language versions had to be kept
mostly symmetrical and
I am creating an external method in python and I want to add a product (in
that method) which is a Zclass (only, it doesn't exists in the
lib/python/Products directory). How can I instatiate this object and how
can I overide the name error that will occur (because I haven't import
anything)?
Guys, please !
Try to use the translator:
your folder/
/translator --- product translator
/en/ --- DTML-Methods returning the
strings/pages for english
/fr/
At 05:53 PM 11/1/00 -0700, Bill Anderson wrote:
I have a Folder w/cs in my root folder, call it spamcan. Root folder has
a title defined, lets say it is "Spam Central"
A DTML Method in spamcan should display "Spam Central" when doing a
dtml-var title, should it not?
Only if you've deleted the
Lalo Martins wrote:
Okay, the cat is out of the bag (in fact, going to Rio for the
weekend) and the worms are out of the can (better worms than
bugs, anyway). ZUnit, the Product all lazy programmers were so
afraid of, is available for review and download from your usual
shop at
Would something like this work?
newSpecialist = Specialists.Specialist()
newSpecialist.id = 'goobers'
newSpecialist.title = "Goober Manager"
myFolder._setObject(newSpecialist.id, newSpecialist)
newSpecialist = newSpecialist.__of__(myFolder)
Zopists,
When I start up Zope with my .zexp of my ZClass based product from 2.0 I
get this message.
2000-10-27T23:36:46 ERROR(200) Zope Couldn't install Staff
Traceback (innermost last):
File /home/jason/Zope-2.2.0/lib/python/OFS/Application.py, line 478, in
install_products
(Object:
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Aitor Grajal Crespo
Director General
e-mail: [EMAIL PROTECTED]
INETSYS, S.L.
ETSI Informática
Ctra. Colmenar, km. 15,500
28049 MADRID
SPAIN
Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22
66
http://www.inetsysonline.com
I think that all you have to do is get your property out of md.
ie:
some_prop=md['some_prop']
Hello, I have coded my own DTML tag and i want to catch a property of the=
folder where the DTML-Coded is.
How can i do this???
from DocumentTemplate.DT_Util import * # useful parsing
Yeahhh, thanks.
But , one more step.:-) can i do it in the init method ???
The init method no have the md parameter. no???
I think that all you have to do is get your property out of md.
ie:
some_prop=md['some_prop']
Hello, I have coded my own DTML tag and i want to catch a
On 11/2/2000 3:12 PM, "Aitor Grajal Crespo" [EMAIL PROTECTED]
wrote:
Yeahhh, thanks.
But , one more step.:-) can i do it in the init method ???
The init method no have the md parameter. no???
No, __init__ is called at parse time and has no knowledge of the surrounding
Morten W. Petersen writes:
How do I construct a method of an object, so that whenever that method
is called, the current namespace is passed with it?
This was discussed recently in the Zope-dev/Zope lists.
Chris has opened the question, Jim answered (among others).
Search the archive.
Here are some draft howto-like things some might find helpful
(improvements welcome) :
http://zwiki.org/ZopeDebuggingRoadmap
http://zwiki.org/HowToDebugZopeInEmacs
and a burning question:
how can I invoke zserver such that I will get the interactive debug
prompt ? I'd like to have my
Greetings,
Amos and I have done some work in the fishbowl this week. We have
started a new project to define the process for writing Zope
documentation.
This fishbowl project can be found at:
http://dev.zope.org/Wikis/DevSite/Projects/DocumentationProcess/FrontPage
The idea here is to open
this should resolve a problem with the recent release. From
http://zwiki.org/FrontPageNews:
"The original (pre-0.7.0) problem was this: in dtml modes, initial
lines containing : followed by a blank line were not rendered (because
they were considered to be http headers).
The symptoms of
16 matches
Mail list logo