The Fine Print: The following comments are owned by whoever posted them.
( Reply )
|
Re: Zope 2.0 and Squishdot
by on Sunday September 05, 02:36PM, 1999
|
What extactly needs to be changed in the Squishdot.py file and what are the permissions for TinyTables?
Thanks,
Bill
|
[ Reply to this ]
|
-
Re: Zope 2.0 and Squishdot
by on Monday September 06, 05:25AM, 1999
|
I haven't quite figured out what to modify on Tinytable, but the required changes on Squishdot.py are:
import ts_regex, regsub, re
replace all references to ts_regex.compile with re.compile
replace all references to regsub.gsub with re.sub
replace regsub.split(file,PATH_SEP)[-1]
with re.split(PATH_SEP,file)[-1]
I think that is it. Please correct me if I'm wrong. I'm new to Python and have been hacking away at it last night.
|
[ Reply to this ]
|
-
Re: Zope 2.0 and Squishdot
by on Tuesday September 07, 01:53AM, 1999
|
When you have it worked out please post a patch.
If you like I can put on my ftp site. I have great
connectivity.
Cheers!
Martin Sevior
|
[ Reply to this ]
|
-
|
Re: Zope 2.0 and Squishdot
by on Sunday September 05, 06:01PM, 1999
|
Okay, so what changes need to be made to Squishdot.py, or if they have been made somewhere, where do I get that version. And what permissions do I need to edit for TinyTables?
|
[ Reply to this ]
|
Re: Zope 2.0 and Squishdot
by on Monday September 06, 11:11AM, 1999
|
The changed Squishdot.py file has been posted somewhere here on Squishdot. A few times I think.
You copy the updated Squishdot.py file to the Squishdot directory under Zope (eg /usr/local/zope/lib/python/Products/Squishdot).
After you create a Squishdot site within Zope, go to the Security tab and edit the permissions to allow anonymous users the ability to query TinyTables. (if you don't anon users will be prompted for a username and password when they try to view your site.)
To recap:
install Zope
install TinyTables and Squishdot
(you do that by unzipping the files in the zope directory (/usr/local/zope) or by copying the unzipped folders to:
/usr/local/zope/lib/python/Products)
so you should see:
/usr/local/zope/lib/python/Products/Squishdot
/usr/local/zope/lib/python/Products/TinyTables
create a Squishdot site within Zope. Edit the Security tab for your site to allow anonymous users the ability to query TinyTables.
|
[ Reply to this ]
|
Re: Zope 2.0 and Squishdot
by on Wednesday September 08, 04:37AM, 1999
|
How come there are six (now seven) replies to this article and the front page (as of now) says there are only two? What kind of caching is going on? And is this site using 2.0 yet?
|
[ Reply to this ]
|
The Fine Print: The following comments are owned by whoever posted them.
( Reply )
|