[Zope] Transparent Folders

2000-12-10 Thread Brenton Bills

Hi,
v0.2

I attempting to use transparent folders.

Like Andrew Milton's suggestions on using them to unclutter your tree, I 
wanted (want)
to put all SQL methods in a folder in the root of my zope tree. From under this
I wanted to put various tranparent folders grouping likewise functionality, eg,

sqlMethods /
Students / 
  get_all_students
  get_all_students_gpa
Teachers /
  get_all_teachers


I would like to go,

dtml-in get_all_students

/dtml-in

And reverse aquisition will do its stuff and run the get_all_students
in the Students folders.

Sadly its not working though, am I correct in thinking that this functionality
exists? Am I missing a patch or something?

Thanks, 
Brenton Bills.




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] dtml-var null

2000-07-05 Thread Brenton Bills



On 5 Jul 2000, Clinton Roy wrote:

 dtml-var notes null="nbsp;"
 
 just doesn't seem to be working.
 
Hi Clinton,
null is only used in conjunction with fmt, so you would want to
use,
dtml-var notes fmt="%s" null="nbsp;"

If this does not work mail me back.

Thanks,
Brenton Bills.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZMysqlDA

2000-05-22 Thread Brenton Bills


Hi people, I am trying to get ZMysqlDA running on a 4.0 Release BSD
machine, I have compiled this fine before on Linux but no luck on bsd. I
am new to Bsd so if this is a bsd problem I appolagise in advance, but the
ZMysqlda documentation is not clear on what libs are required. 

Python 1.5.2 manually compiled and installed (not part from ports). 

cc -fpic  -I/usr/local/include/mysql -I/usr/include/mysql -O -pipe
-D_THREAD_SAFE -I/usr/local/include/python1.5
-I/usr/local/include/python1.5 -DHAVE_CONFIG_H -c ./MySQLmodule.c
./MySQLmodule.c: In function `pythonify_row':
./MySQLmodule.c:238: warning: assignment from incompatible pointer type
./MySQLmodule.c: In function `pythonify_res_fields':
./MySQLmodule.c:384: invalid lvalue in unary `'
./MySQLmodule.c: In function `STH_fetchdict':
./MySQLmodule.c:1125: invalid lvalue in unary `'
./MySQLmodule.c:1147: invalid lvalue in unary `'
*** Error code 1

Brenton Bills.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )