[Zope] Products, levers and the dtmlExample folder on zope.org
Andy Smith
andy.smith@iname.com
Sun, 7 Feb 1999 22:28:38 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0001_01BE52E9.34EF05D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
My fault!
I think I left it out for two reasons ...
1/ Although I guess it shows the principle of how the lever works, it was a
little bit ugly and maybe not the best thing to shove out there as an
example. To tidy it up, I'd have liked to be able to add a messagedialogue
which returns the user back to manage_main when the OK button is pressed...
anyone know how it's done?
2/ I didn't want a beginners example to have to involve going to two
directories, doing a manage_importHack while ensuring that the correct
export.bbe was in place each time, as well as installing an external method
in the right location (by the time someone's done that lot, they probably
don't need DTML examples any more ;) ).
Of course, I should have taken out all references to the Lever in the docs,
I'll change the example accordingly... thx for pointing it out! But in the
meantime, here's a tarball containing the var/export.bbe created when I ran
a manage_exportHack against the hitCounter product.
If you do http://mysite:myPort/Control_Panel/Products/mangage_importHack
after installing the export.bbe file in your var directory you'll then have
the hitCounter installed, and there in the 'Add' menu for each of your
folders.
Cheers,
Andy.
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of The
> Dragon De Monsyne
> Sent: Friday, February 05, 1999 3:37 PM
> To: zope@zope.org
> Subject: [Zope] Products, levers and the dtmlExample folder on zope.org
>
>
> I've been looking thru the dtml example folder that was uploaded
> to zope.org, for usefull tips & tricks, and it's quite nice. There is one
> puzzle however that I would like to solve.
>
> In the hitcounter example it refers to making the counter a
> Product to simplify adding it. It says to look at the counter product in
> the Products directory in the Control Panel for details on how this was
> done. That product of course isn't there. (minor documentation bug there)
>
> I'm going to guess that this is an example of one of those
> so-called 'Levered' objects I've heard abt, which sound insanely usefull,
> but which I've been able to find absolutely nil documentation on.
>
> Anyone have any docs on these? Or at least an exported version of
> that hitcounter product, so I can see what one looks like?
>
> -The Dragon De Monsyne
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
------=_NextPart_000_0001_01BE52E9.34EF05D0
Content-Type: application/x-compressed;
name="hitCount.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="hitCount.tgz"
H4sIABkBvjYAA+1YTWzb1h2X7fiLThOptZ2vdntl1ppZY1KU9WFhsgHFlm2hlqXKZLtsCAhKfDY5
SKRIPSXNAB126KHYYYfdey2G3YYC3bE77FSgTVugwA67rutuuxUIkvXPb8pOHMeeNwzTH6b4Pv7v
//5f7/d/9F3Z4vC7HcMibKOBY2dCfDKZy2RQDCGUy6YH3kB8KsXzCGWzmVw6mUxlUvZQcikZQ8mz
UWeQel0iWwjFZF25fxTfs+b/Zyn+uf1b/LTeFXeXlmKx0a/hsZhmsdNha5ah9JqE8t/myA5h++Yo
I1KyoqwZPZ1gyxxjKl/EGfF8dWOXXTeavTbWiXlOnAra44S8JY5qijkhUqpG/HWT4uRdbHU1Qzen
xDGeTZrT4mTTm6SYymwC9rGFbhgtBYZmxAmvdd4WOCUZjV/gJumaLzB98wIjTrcxkSVyv4PNi5Hd
4+qEeCFUd8Ow2mai1zdfZNSLqj0ZteUlmJiFiWCrOWCYEnC705IJNudh+pI9nahZmt7UOpqMNuQm
Maz75mXgnNzzOleA8aq9gb0+MOpaj4jjRCMtbL4sxiJyX2EqX8YZNbTwB7aFgbQfOtHwNqL8t4l2
6uarfZNmVJCmTqhXxElN14gmt8zrh0z+kTjj+sv10GtifF2obKMtjSDf+Nd7DXGuaeh72n7Pkhst
7HtYMhfumAxzSOaNAd/9OGLQG6HyN0P7F7GaYCoPwNJoerBga4/N89lcLpvll9lsJjmNLMMg09ya
oRPLaEk1WcctzkvDLhcmEdeWdXkfS4rWJZbW6BHsZnD8gZvVlb8/evSHxVhsrAXj/2Ka0RylgkaY
1150xiA6Y5Z8zzwn/Ho0Fiu8urh4/S7gBICFrsiWIqmk3ZJULEOsFhdXqcJWajVgckRIhiVpCsyh
YFzxtpMcBpgqcLCMogob1XoFFdeEcnVnhQ4dSqN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