Is there a nice way to backup dtml documents and methods from a certain point
in the object tree onwards without having to save all the other objects too?
regards
Matt
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
[ this might be more of a Python question, but it's got a lot to do with the web and
is to be used in Zope ]
I want to replace all occurences of email address's and URLs in a textstring, to mailto:%s">%s and %s.
Must admit that I am not an regex expert, and I wasn't able to find a "precompiled"
Take a look at my HOWTO:
www.zope.org/Members/Mamey/PHP
On Fri, Oct 13, 2000 at 09:47:17AM -0200, Mario Olimpio de Menezes wrote:
>
> Hi,
>
> I'm planning to convert (migrate) a entire site from php3 to
> zope and i'm looking for suggestions, hints, etc on this.
> It's a GPL manage
The problem with the TinyTable and TinyTablePlus products is that they use
the tokenize.py module which treats any field value as a possible Python expression.
Since ":" is a special token in Python, it gets interpreted as such. One
quick way to get around this is to quote your field value -
"cri
Zopists,
I am trying to use DTML to create folders within folders for me 3 levels
deep.
Two levels works, but 3 won't. For example:
This works:
But this:
Throws an unathorized no matter who I am. How can I get 3 levels of
recursion. I tried using 'let' to stand
Have you run ldconfig after editting the /etc/ld/so/conf file? Run
ldconfig -v | grep mysqlclient and see if the library appears. If so,
everything is all set.
Also try an ls -l /usr/local/mysql/lib/libmysql*.
Knight
[EMAIL PROTECTED]
On Fri, 13 Oct 2000, Dale Lance wrote:
> Hi,
> I am trying
Also, consider adding an accessrule. This won't stop them from using
__no_before_traverse__ or _SUPPRESS_ACCESSRULE but it will make it
'appear' there is nothing more than the current level.
knight
[EMAIL PROTECTED]
On Fri, 13 Oct 2000, Tim Cook wrote:
> Stephan Goeldi wrote:
> >
> > OK let me
J Kinsley writes:
> /FrameSet - DTML Method
> .
> XXX - How can I negate this? IE.
>
>
>
>
>
> XXX - I do not think calling REQUEST.set() is the best way to
> accomplish this. What is a better way?
It is ineffective, as you do not use "topframe" later (in *this*
request).
Roland C. Reumerman writes:
> Now it seems that somehow the combination of Zope-generated authenticated
> headers and the firewall redirection rule do not match: does the header
> include URL information? That would imply it tries to access
> www.datadistilleries.com:8080/ddsn (Zope generat
Burchill, Scott B. writes:
>
> I am finding myself doing the following and am sure
> there is a simpler way to do this.
>
> Any help would be greatly appreciated! Thanks.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
I
Hung Jung Lu writes:
> I know that, the stupid log file thingy. But you'll have to write an
> independent thread to display the log file (or peek the file manually each
> time), or implement some CString stuff to capture the file output (if that
> is possible).
As I understand it, the loggi
Graham Chiu writes:
> I tried storing these in tiny tables, but it doesn't seem
> that tiny tables allow one to store tokens. If I specify
> the value as say, criteria:tokens, it gets changed to just
> criteria.
Probably, This is a ZPublisher feature. It interpretes
":" suffixes of form varia
[EMAIL PROTECTED] writes:
> ... get today's date into a dtml-var ...
Look at the "DateTime" documentation, if this does not give
you the needed date format.
Dieter
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
hi,
i had tried something similar already without success. here is the error
your script caused:
DOH!
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: TypeError
Error Value: unsubscriptable object
for some reason Zope just doesn't want to compare ZopeTime
Rik,
I've upped both the Zope_book.lit and the Zope quick Reference.
The ZQR is not as readable as the zBook due to the formatting. I'll get the
XML and reformat it to look a bit better.
hth
Phil
[EMAIL PROTECTED]
- Original Message -
From: "Rik Hoekstra" <[EMAIL PROTECTED]>
To: "Phi
Here you go.
This uploads a file in the current working directory.
thisID [ the id ] and thisTitle [ the Title ] are optional, and I don't know if you
have to put '' double-apostrofies for the ID then.
You try.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]
Ok, this worked :
Thanks for the direction, Jerry!
sbb
> -Original Message-
> From: Spicklemire, Jerry [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 13, 2000 2:58 PM
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: Variable name use in with stateme
Hi,
I have Zope set up running with Apache/SSL using mod_proxy and the
SiteRoot product. Everything works fine.
The thing is, if I understand stuff correctly, all the requests to
https://hostname.com get handed off to Zope. I would like to be able use
the same hostname for plain old Apache-isms
Daniel asked:
"Can anyone explain what the advantages are of using
an RDBMS for Zope object storage over the standard file
system storage?"
The folks I know that have asked for that feature have
stated their concerns as being:
Keeping everything in a single large file is risky,
Seb Bacon writes:
> OK, I think we're talking about the same thing now...but could you give me
> an example of any object that would need to be traversable by Anonymous?
> index_html, for example, doesn't need to be traversable (I still prefer
> 'listable'). Viewable TTW, yes, but that's all
Scott Butchill wonders if:
"there is a simpler way to do this."
Not much simpler, but how about:
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML
Can anyone explain what the advantages are of using an RDBMS for Zope
object storage over the standard file system storage?
Is it simply the convenience to have the data in one place (for backup
etc)?
Does it scale better? In connection with ZEO?
I'm asking because I'm contemplating writing su
What are my options for debugging External Methods in Zope running on
Windows NT?
Is there ANY way to get the external method to run in a DOS window that I
can watch?
What little tricks/techniques have others use to make debugging external
methods easier/possible?
Thanks,
Robert J. Roberts
LMS
There are some patches floating around to add cataloging to LocalFS objects. I
haven't gotten around to including them in the standard distro.
--jfarr
- Original Message -
From: "neeloy_saha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, October 13, 2000
Well we use the UserDbFolder Product after havin the same/similar problems
with the LoginManager :-)
- Holger
Am Fri, 13 Oct 2000 schrieben Sie:
> Has anyone been able to use LoginManager with a SQL db? with or without
> encryption?
>
> I'm still baffled by this how-to:
> http://www.zope.org/M
Tim Cook writes:
> I'm sure someone will correct me if I'm wrong. But I believe you
> want:
>
>
Haven't tried it in my code yet, but thanks to your post I found the
section about _.getitem(). That'll come in handy all over the place,
so many thanks for the pointer!
//glw
__
"Júlio Dinis Silva" wrote:
>
> Hi all,
>
> is there a way to do a pack to zodb without using the managment screens pack
> button?
>
> Maybe a python script we could execute from the file system.
>
> Regards,
> Júlio Dinis Silva
>
I want to create a user-interface so that users can upload files to my Zope
site. I have done this with DTMLDocuments, however I don't quite understand how
to get the file itself into the Zope site via ...
self.manage_addProduct['OFSP'].manage_addFile()
..that is in Python.
I looked through th
Hi all,
I have lots of old html/ documents that I want to publish through my zope
portal. To ensure that I do not tweak html files I have used the LocalFS
product, also I do not want to load the data.fs
Now. I am running into search problems. How do i do a search the filesystem
file? and also en
In the Zope PTK there are a couple of products that have been packaged as
product.dats.
What format are these? How do I do it?
Cheers
seb
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML
Im running Zope 2.2.2 on Linux 2.2.13.
When mixing boolean operators and wildcards '*' in queries within a Textindex
the 'AND' operator is replaced by 'OR'.
Also, the possibility of constructing nested terms using brackets seems
to be not supported (contrary to the chapter 'Searching and indexi
I'm working on a simple auction site as a newbe challenge. I am taking bids
on three static items, none will be added or removed. I have a folder named
bid_records in which there is a folder for each item. These item folders
have current bid information in properties and bid history in ZClass i
Talking to myself
A slight correction to my patch so that
tablename.columname will be rendered as
to "tablename"."columnname".
146c146
< from string import find, split, join, atoi, atof
---
> from string import find, split, join, atoi, atof, replace
165,166c165,166
< if has_key('col
Has anyone been able to use LoginManager with a SQL db? with or without
encryption?
I'm still baffled by this how-to:
http://www.zope.org/Members/jok/SQL_based_LoginManager
In this example, there are dtml-methods that do the work of the UserSource,
but there is no retrieveItem?
I would really
As stated in an email some time before I ran into some problems concerning
accessing my password protected Zope site.
The situation:
* Zope 2.2.2 runs on a web server called www.datadistilleries.com on port
8080
* the web site it offers is protected with Zope's own authentication
mechanism
* t
In Debian, this library is in a separate packge.
On Fri, 13 Oct 2000, Dale Lance wrote:
> anyone know where mysqlclient is supposed to be?
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML
Ron Bickers <[EMAIL PROTECTED]> wrote:
>
> From my previous post, it looked like the parent was changing. I had
> the first two lines swapped. Fixed below.
>
>
>
> I want to see if an object is the one aqcuired from the root, but I'm
> hitting walls.
>
>
>
>
>
> This retu
> Create the user in the top level folder that they are allowed to
> see.
> Not in the /www folder
That alone wouldn't do it if we are talking about "seeing the objects", e.g. by
calling the "objectIds" method in the root folder. You also have to switch off
the root folder's "Access contents inf
On Fri, 13 Oct 2000, Dale Lance wrote:
> anyone know where mysqlclient is supposed to be?
>
> > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o
> > _mysqlmodule.so
> > /usr/bin/ld: cannot find -lmysqlclient
It supposed to be in the /usr/local/mysql/lib/libmysqlclient.so.
- Original Message -
From: "jensebaer" <[EMAIL PROTECTED]>
To: "Dale Lance" <[EMAIL PROTECTED]>
Sent: Friday, October 13, 2000 2:43 PM
Subject: Re: [Zope] Fw: mysqldb
> Hi Dale,
>
> put this in your setup or/and setup.in file under
> ../lib/python/Products/ZMySQLDA/MySQLdb-0.1.2/
>
Hi,
I am trying to build ZMySQLDA 1.20
mysql has been built successfully on RedHat 7.0 and resides in
/usr/local/mysql
I have followed the instructions for editing /etc/ld/so/conf adding
/usr/local/mysql/lib/mysql
/usr/local/mysql/lib
/usr/local/mysql
to it. (just tomake sure)
yet I still get the
Hi,
I'm planning to convert (migrate) a entire site from php3 to
zope and i'm looking for suggestions, hints, etc on this.
It's a GPL management school system done in php3+postgresql, and
any user must be authenticated against a database and his privileges
are those from the post
Stephan Goeldi wrote:
>
> OK let me state that I don't think so (subject line). I had to choose this
> subject, because it seems to me, that nobody was interested in my previous
> attempts to get information about my problem. So here is my newbie (?)
> question again:
>
> I have the folders:
>
I am building a framed site using Zope and I am trying to get
functionality that after hours of reading documentation I am
beginning to think is not possible, but since what I have read is so
obscure I have decided to post a message before giving up.
The code examples below *DO NOT* work, but are
OK let me state that I don't think so (subject line). I had to choose this
subject, because it seems to me, that nobody was interested in my previous
attempts to get information about my problem. So here is my newbie (?)
question again:
I have the folders:
/www/folder1
/www/folder2
Apache re
Hi there,
I've been having problems with DateTimes as well. My colleague and I (using Zope
201) found a problem with the module that causes any dbase timestamp to be rendered
to a non-standard UNIX time that has an annoying DST appended if in the Daylight
savings time zone, thus leaving the times
Oh dear, I fear that this is going round and round and round in circles a
bit, and that no-one else is following it, but here goes anyway :>
> The "traversable" permission would be an additional requirement
> to view any object. Its main purpose would be to distinguish
> between "use via Web" and
Zope has been nominated for the Webtechniques Webtool Awards, and the
pollboxes are open!
Go vote by putting you email address (or any email address you like ;)) at
the end of the following URL:
http://www.webreview2.com/cgi-bin/poll/ballot_gen.pl?<[EMAIL PROTECTED]>
So, I voted at the URL en
48 matches
Mail list logo